I have the same problem with slow SSH connects to LAN IPs. If GSSAPIAuthentication yes in my ssh/ssh_config there are three places where ssh waits for a long time:
<snip> debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2 Debian-8ubuntu1 debug1: match: OpenSSH_4.3p2 Debian-8ubuntu1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-8ubuntu1 debug2: fd 3 setting O_NONBLOCK [...HERE...] <------------------------------- NOTICE! debug1: Miscellaneous failure No credentials cache found [...HERE...] <------------------------------- NOTICE! <snip> debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /root/.ssh/identity ((nil)) debug2: key: /root/.ssh/id_rsa ((nil)) debug2: key: /root/.ssh/id_dsa ((nil)) [...AND HERE] <------------------------------- NOTICE! When I change ssh_config to GSSAPIAuthentication no I get rid of the first two stops but the last one remains. It even remains after modify nsswitch.conf as described above. Any other ideas on how to get rid of the slow ssh connect? -- SSH with GSSAPIAuthentication option on SSH servers are very slow https://bugs.launchpad.net/bugs/84899 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs