Wednesday, May 16, 2012

Slow SSH Password Prompt

... I finally solved a small, but annoying issue I'd been having with SSH. I think it'd been happening since our newer VMs started using Centos6 instead of 5.

It was taking the guts of 10 seconds for the password prompt to appear whenever I  tried to SSH into the server.

I found that this was caused by some sort of reverse DNS lookup being done on my host.

Arsebiscuits to that!

Make sure that GSSAPIAuthentication is set to no as follows in /etc/ssh/sshd_config:

GSSAPIAuthentication no
Then restart your sshd service.

No comments:

Post a Comment