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

How to upload bulk Email alias in Google Workspace

Deploying App through AWS EKS by using ingress and fargate

How to save git token key to avoid again and again put manually