Jump to Navigation

124 - To fix slow ssh login

If your login Linux are really slow, it may be that reverse DNS is not working correctly.
To fix the problem is to either add the IP address to /etc/hosts, or modify your sshd_config file by setting UseDNS to no:

# vi /etc/ssh/sshd_config


#ShowPatchLevel no
UseDNS no
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no

Restart sshd for the change to take effect:

# /etc/init.d/sshd restart


Main menu 2

Story | by Dr. Radut