I saw this same problem as well. It is as you suspected, DNS. Since I had a name server on my masqed network I just created a reverse zone and all was well. There must be a way to prevent ssh from doing reverse lookups but I don't know what that option is...
Greg On Wed, 27 Jun 2001, Nik Makepeace wrote: > When I connect to my Debian potato machine using ssh (via Putty) protocol 1 > or 2, after I have entered the correct password, it takes ages (about 10 > seconds, although sometimes much more) to complete the authorisation process. > > Looking at top while this is happening shows sshd using about 2% for the > duration. > > Using Putty top connect to my other Debian (woody) box results in a near > instantaneous connection, and using this woody machine to ssh to the potato > machine results in a near instantaneous connection: > > Windows -> potato : slow > Windows -> woody : fast > woody -> potato : fast > potato -> woody : fast > > I suspect it might be a DNS lookup thing; my windows machine is masq'd by > the potato machine. Perhaps it is trying to do a reverse lookup on > 192.168.1.2? > > Any suggestions appreciated - 10 seconds is not so long to wait for a > login, but it can feel like eternity! > > Nik > > > -- Greg Rowe Paranoia is a virtue. http://www.therowes.net