Comment 25 for bug 84899

Revision history for this message
Lucian Adrian Grijincu (lucian.grijincu) wrote :

I was connecting to a sshd on a Debian Etch which ran on the same machine under VMWare.
The guest OS has a 192.168.x.y type IP (dhcp from VMWare) on a separate virtual interface.

I applied William's solution (https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/84899/comments/22).

In /etc/nsswitch.conf, I replaced :

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

with

hosts: files dns

From 5-10 seconds I now get less than one second wait time before the password prompt is shown.

No other edits to ssh_config were needed.