[plug] ssh "pause"
Lance Duivenbode
plug at duivenbode.id.au
Thu May 15 11:48:18 WST 2008
Hi Jason,
I'm not sure if this is applicable, but below is an email I posted to the PLUG
list when I was undergoing similar problems.
Cheers,
Lance
------------
Hi all,
Just thought I'd share this as it frustrated the heck out of me until I
dug deeper. With a fresh install of Kubuntu Feisty, I had the problem
where every SSH connection sat waiting for around 12 - 20 seconds before
asking me for the password. Using the -vvvvv option, it appeared that it
was a DNS issue even though the address specified was an IP. Whilst this
didn't make any sense, I thought I'd at least give it a try and so I
modified the nsswitch settings in /etc/nsswitch.conf and changed the line:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
to:
hosts: files dns
Alas, no dice. The real culprit was the /etc/ssh/ssh_config file (which
specifies ssh client config for those not in the know) which contained
the following lines:
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
Commenting these lines out made the problem disappear as it prevented an
apparent attempted kerberos lookup, which was in turn requesting a
reverse DNS lookup.
Hope this saves someone else a headache!
------------
On Thursday 15 May 2008 08:21:37 Jason wrote:
> greetings all,
>
> after the hard drive on my laptop went chernobyl (thankfully under
> warranty) I had to install debian from scratch.
>
> I've noticed that since this fresh install, when sshing from my server to
> my laptop (both whilst physically sitting @ the server or sshing in to the
> server from work) there is quite a pause before the password prompt
> appears. on the previous install (approximately 2 years old) it was almost
> instantaneous.
>
> any suggestions?
>
> cheers,
>
> jason.
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
More information about the plug
mailing list