当用ssh -v root@xx.xx.xx.xx时,发现打印到
debug1: SSH2_MSG_SERVICE_ACCEPT received
就暂停半分钟,网上搜索下,原因如下
https://www.thegeekstuff.com/2010/07/openssh-slow-at-ssh2_msg_service_accept-received/
修改 /etc/ssh/sshd_config,
UseDNS no
GSSAPIAuthentication no
然后重启服务
service sshd restart
然后享受如飞般的ssh速度