Wednesday, June 2, 2021

Slow SSH

 I tried this:

RHEL7:
Symptom: 34 seconds to prompt password ssh login
Solution (my case):
- vi /etc/ssh/sshd_config
- GSSAPIAuthentication no
- service sshd restart

Other Linux versión:
vi /etc/ssh/sshd_config
UseDNS no

vi /etc/resolv.conf
options single-request-reopen ;in the last line. No network restart required


but none worked... in the end, the solution is to put my gateway into /etc/hosts


Solved!!!

No comments:

Post a Comment