Date: Fri, 23 Dec 2005 14:22:21 -0500 From: Sean Bryant <sean@cyberwang.net> To: James Tanis <jtanis@pycoder.org> Cc: stable@freebsd.org, "Michael A. Koerber" <mak@ll.mit.edu>, current@freebsd.org Subject: Re: SSH login takes very long time...sometimes Message-ID: <43AC4E6D.4060107@cyberwang.net> In-Reply-To: <65dcde740512230945j11b1e3f9ied13a8129f568091@mail.gmail.com> References: <43ABF6E4.2090908@ll.mit.edu> <65dcde740512230945j11b1e3f9ied13a8129f568091@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
James Tanis wrote: >For whatever reason, I have had a similar problem which was solved by >entering the machines that you are logging in from into the hosts >file. I'm guessing it attempts a reverse lookup and your (as well as >my) dns/hostname does not match its reverse lookup entry. > >On 12/23/05, Michael A. Koerber <mak@ll.mit.edu> wrote: > > >>All, >> >> 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? >> >> All machines have had clean installs from "newfs'd" drive under both 5.4 and 6.0 so I'm sure no >>left over configs are getting propagated. >>-- >>--------------------- >>Dr Michael A. Koerber >>x3250 >>_______________________________________________ >>freebsd-stable@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >> >> >> > > >-- >James Tanis >jtanis@pycoder.org >http://pycoder.org >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > Try disabling sendmail. I don't remember exactly how I came up with this solution but I remember sendmail was the problem. This might work for you as well.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43AC4E6D.4060107>