The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
About Logon nokia1100 Shell Programming and Scripting 1 04-05-2007 07:21 AM
logon to ssh rocky_triton Shell Programming and Scripting 1 05-10-2005 07:11 AM
Logon Problem tayyabq8 SCO 0 11-16-2004 05:14 AM
Can't logon SRP UNIX for Dummies Questions & Answers 8 11-24-2003 05:04 PM
AIX logon attempts eysheikah Security 0 06-20-2003 09:24 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-21-2008
antointoronto antointoronto is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 28
ssh logon

Hi

I am envountring a problem while I login using ssh on a sun box to a remote box.

I use ssh user@server and it takes long time to ask for a password..

does anyone knows the reason behind this? or is there a way that this could be solved

Thanks,
Antony
  #2 (permalink)  
Old 07-21-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,910
try the ip instead of the servername. maybe it's a nameservice problem...
  #3 (permalink)  
Old 07-21-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,024
Check the order of the nameserver entries in your /etc/resolve.conf fille
  #4 (permalink)  
Old 07-22-2008
antointoronto antointoronto is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 28
i tried to use the IP and still the same
  #5 (permalink)  
Old 07-22-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,024
Can you do a ssh -v -l someone@server and provide us the verbose output?
  #6 (permalink)  
Old 07-22-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,024
Thumbs up

Delays when ssh'ing in are almost always DNS related. To diagnose this, ssh into the machine from a known good box (that doesn't see the delays elsewhere) with the command line "ssh -vv username@hostname" and see where the delay is. It's likely that the server that is giving you the delay is trying to reverse lookup the IP of the machine you are sshing from and timing out (hence the delay).

To fix, edit your ssh config ("/etc/ssh/sshd_config") and add a "UseDNS no" line (or change the existing one to this).

Then restart your sshd via "sudo /etc/init.d/ssh restart".

Hope that helps.
  #7 (permalink)  
Old 07-22-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,910
Quote:
Originally Posted by incredible View Post
Delays when ssh'ing in are almost always DNS related. To diagnose this, ssh into the machine from a known good box (that doesn't see the delays elsewhere) with the command line "ssh -vv username@hostname" and see where the delay is. It's likely that the server that is giving you the delay is trying to reverse lookup the IP of the machine you are sshing from and timing out (hence the delay).

To fix, edit your ssh config ("/etc/ssh/sshd_config") and add a "UseDNS no" line (or change the existing one to this).

Then restart your sshd via "sudo /etc/init.d/ssh restart".

Hope that helps.
or "svcadm" with solaris 10!
Sponsored Links
Closed Thread

Bookmarks

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0