Sometime in Linux machine, we saw
SSH connection take long delay to ask for password. This can easily resolve
with some changes in changes in SSH configuration file.
[root@qts ~]# egrep "GSSAPIAuthentication|UseDNS" /etc/ssh/sshd_config
GSSAPIAuthentication
no
UseDNS
no
Two parameters should configure in
above manner
1. GSSAPIAuthentication no
2. UseDNS no
1. GSSAPIAuthentication no
2. UseDNS no
After this we have to restart SSH
services. Right now we are working in CentOS7.
systemctl
restart sshd.service
or
Service
sshd restart
No comments:
Post a Comment