, ,

Since CENTOS 7 came out I’ve noticed some containers take forever to return a password prompt when you ssh into them.

I’ve narrowed it down to a few things:

1. Make sure the DNS entry for the server is correct, you can test this using dig:

dig +noall +answer -x 576  IN  PTR  the.domain.name.here

2. If you can’t setup the DNS PTR record then edit /etc/ssh/sshd_config  set:

GSSAPIAuthentication no
UseDNS no

Then restart sshd and see if that resolves the issue, if not when you try to log in use -vvv on the ssh command line to get verbose output and debug from there.


Good Luck!

Sid Young