Date: Fri, 23 Dec 2005 15:29:17 +0200 From: Kobi Shmueli <kobi@macron.co.il> To: "Michael A. Koerber" <mak@ll.mit.edu> Cc: stable@freebsd.org, current@freebsd.org Subject: Re: SSH login takes very long time...sometimes Message-ID: <001301c607c4$e04e2540$80cea8c0@home1> References: <43ABF6E4.2090908@ll.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael A. Koerber wrote: > I have three machines that have had 5.4 and 6.0 installed. Two of the three machines have very > well behaved "ssh". However, the machine (laptop) named OBOE does not. > > Specifically "ssh oboe" will (most of the time) hang for around one minute before asking for a > prompt. However, if I'm logged into OBOE and "ssh BSD" (one of the other machines) a password is > requested within a couple seconds. (I said most of the time, since on occasion I can reboot OBOE > and ssh will work just fine...hmmm.) > > I have looked through the /var/log files for clues and skimmed "man ssh" for time out related > stuff, but no luck. > > Where should I start looking for clues? Try checking /etc/resolv.conf on oboe first, adding a static entry to /etc/hosts of the remote ip/host should speed dns checks as well. You can also run ssh in verbose mode (ssh -v oboe) or/and run sshd in debug mode (sshd -d). -Kobi.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301c607c4$e04e2540$80cea8c0>