SSH login takes long time

recently i prepared RHEL AS4.8 server connected behind firewall, in DMZ.
the domain part of hostname of the server was reflecting the internet domain name and the local MS-AD Domain was <domain>.local
connecting to this nix box from ms-platform was taking pretty long time to login after username & password request.
Upon googling i found this link which solved my problem.

Add the following to /etc/ssh/sshd_config on your SSH server
UseDNS no
Then restart the ssh daemon and your pauses should be gone.

thanks community..

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s