![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| About Logon | nokia1100 | Shell Programming and Scripting | 1 | 04-05-2007 04:21 AM |
| logon to ssh | rocky_triton | Shell Programming and Scripting | 1 | 05-10-2005 04:11 AM |
| Logon Problem | tayyabq8 | SCO | 0 | 11-16-2004 02:14 AM |
| Can't logon | SRP | UNIX for Dummies Questions & Answers | 8 | 11-24-2003 02:04 PM |
| AIX logon attempts | eysheikah | Security | 0 | 06-20-2003 06:24 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
try the ip instead of the servername. maybe it's a nameservice problem...
|
|
#3
|
|||
|
|||
|
Check the order of the nameserver entries in your /etc/resolve.conf fille
|
|
#4
|
|||
|
|||
|
i tried to use the IP and still the same
|
|
#5
|
|||
|
|||
|
Can you do a ssh -v -l someone@server and provide us the verbose output?
|
|
#6
|
|||
|
|||
|
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
|
||||
|
||||
|
Quote:
|
||||
| Google The UNIX and Linux Forums |