SSH connection slow in RHEL 7

 


Sometimes we faced issue with making ssh server connection very slow. It takes time while we access it through terminal or any third party tool. Below is one of the common solution for this issue.

Step1- Go to the SSH Server then edit /etc/ssh/sshd_config

Step2- Set UseDNS no and save file



Step3- Restart service after changing sshd_config

RHEL7(Higher)- systemctl restart sshd.service

Ubuntu- sudo service ssh restart  or you can use sudo /etc/init.d/ssh restart



Comments

Popular posts from this blog

Core 5 Security Epics in AWS Cloud

Why do you need to monitor your network?

How to change Domain account logging password