編輯配置文件”/etc/ssh/sshd_config”
vim /etc/ssh/sshd_config
找到UseDNS選項,如果沒有注釋,將其注釋
#UseDNS yes
添加
UseDNS no
找到GSSAPIAuthentication選項聪蘸,如果沒有注釋,將其注釋
#GSSAPIAuthentication yes
添加
GSSAPIAuthentication no
保存配置文件
重啟OpenSSH服務器
service sshd restart
編輯配置文件”/etc/ssh/sshd_config”
vim /etc/ssh/sshd_config
找到UseDNS選項,如果沒有注釋,將其注釋
#UseDNS yes
添加
UseDNS no
找到GSSAPIAuthentication選項聪蘸,如果沒有注釋,將其注釋
#GSSAPIAuthentication yes
添加
GSSAPIAuthentication no
保存配置文件
重啟OpenSSH服務器
service sshd restart