Wednesday, February 06, 2008
ssh slow to respond
You are connecting to a local linux machine with ssh, but you have to take a coffee break for the ssh prompt to return. Here is the fix.
On the server change the following.
On the server change the following.
- In /etc/ssh/sshd_config set the following. The first one informs to use IPV4 and second asks not to do any reverse DNS lookups.
AddressFamily inet
UseDNS no - Add the private address of the server to /etc/hosts
Subscribe to Posts [Atom]