第一个步骤:修改ssh服务配置文件
vi /etc/ssh/sshd_config
79 GSSAPIAuthentication no
115 UseDNS no



第二个步骤:修改hosts文件
[ ~]# vi /etc/hosts
你的ip 你的主机名

第三个步骤:重启ssh远程服务
systemctl restart sshd

第一个步骤:修改ssh服务配置文件
vi /etc/ssh/sshd_config
79 GSSAPIAuthentication no
115 UseDNS no



第二个步骤:修改hosts文件
[ ~]# vi /etc/hosts
你的ip 你的主机名

第三个步骤:重启ssh远程服务
systemctl restart sshd
