把/etc/ssh/ssh_config里面的GSSAPIAuthentication修改成no就ok了 sudo vi /etc/ssh/ssh_config GSSAPIAuthentication no