1.编辑/etc/ssh/sshd_config vi /etc/ssh/sshd_config 2.将以下2行配置释放并修改如图 3.重启ssh服务 /etc/init.d/ssh start 4.Ok,问题解决了