服务器ssh登陆变得特别慢
连接登陆网卡ip查看登陆信息
[root@student245-128 ~]# ssh -v root@192.168.3.128
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /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/0
debug1: identity file /root/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
修改服务端配置
[root@sz3-200 ~]# vim /etc/ssh/sshd_config
GSSAPIAuthentication no yes改为no
UseDNS=no 追加此行
- 重启sshd服务
[root@student245-128 ~]# systemctl restart sshd