Friday, November 21, 2008

How to speedup ssh login to Mac OSX 10.x systems

If you login to MacOS X systems, you will notice a long delay until you are able to login.

Reason for this is the same as for all other ssh2 daemons (Linux, Solaris etc.).
DNS reverse lookup requests.
The sshd daemon tries to figure out your reverse ip.
This may take a very long time.

To avoid the long delay, simply add the following line to the OSX sshd server box:

vi /etc/sshd_config

UseDNS no


Save the file. No reboot necessary.

1 comment:

  1. I always spent my half an hour to read this blog's artiicles or reviews everyday along with a mug of coffee.

    ReplyDelete

Due to the high amount of Spam, you must solve a word verification.