Skip to main content

ssh hangs on remote connection

Solution: update /etc/ssh/sshd_config

change:

#GSSAPIAuthentication no
GSSAPIAuthentication yes

to:

GSSAPIAuthentication no
#GSSAPIAuthentication yes

Issue: my system which I had converted from VMware ESX to KVM seemed to have a quite noticeable pause when I would try to connect from a remote machine.  There were a number of other changes that had taken place during that migration as well, but I had validated all DNS, routes, etc.. were still all correct.

I then ssh'd to my server using -v -v and discovered it would hang

debug1: Next authentication method: gssapi-with-mic
debug1: An invalid name was supplied
Cannot determine realm for numeric host address

I did some research and discovered some people had suggested the fix above.  I now need to research what the potential issues are in doing such a thing.



Comments