服务器ssh登陆变得特别慢
连接登陆网卡ip查看登陆信息
[root@student245-128 ~]# ssh -v root@192.168.3.128OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017debug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 58: Applying options for *debug1: Connecting to 192.168.3.128 [192.168.3.128] port 22.debug1: Connection established.debug1: permanently_set_uid: 0/0debug1: identity file /root/.ssh/id_rsa type 1debug1: key_load_public: No such file or directorydebug1: identity file /root/.ssh/id_rsa-cert type -1debug1: key_load_public: No such file or directorydebug1: identity file /root/.ssh/id_dsa type -1debug1: key_load_public: No such file or directorydebug1: identity file /root/.ssh/id_dsa-cert type -1
修改服务端配置
[root@sz3-200 ~]# vim /etc/ssh/sshd_configGSSAPIAuthentication no yes改为noUseDNS=no 追加此行
- 重启sshd服务
[root@student245-128 ~]# systemctl restart sshd
