Open Indiana 151a - Slow SSH Login

Hi, I have the following issue, when I tried to login to an Openindiana remote server through ssh It takes to long to ask me for the password. So i tried -v and I realize that sshd hangs here " debug1: SSH2_MSG_SERVICE_ACCEPT received " for at least 2 minutes. Then I can log in and everything is fine.

Any suggest or advice where to start...?:wall:

Your machine probably doesn't have a reverse DNS record, and OpenSSH by default checks for such a record. Add the line

UseDNS no

anywhere in your sshd_config , reload the daemon, and it should work just fine.

1 Like

Yep, it's almost certain a DNS issue. I agree with pludi.