To fix delay in SSH Login
DNS lookup query is responsible for the delay because SSH wait for a response of reverse DNS lookup query that is been made to DNS Server.
To overcome this issue, please follow these steps:
- Edit /etc/ssh/sshd_config on sshd Server
and add following DNS option to the file:
save and exit
- Add the following line to your /etc/resolv.conf file.
- Restart sshd service
That’s it 🙂