1. 使用命令行停止防火墙

/etc/init.d/SuSEfirewall2_init stop
/etc/init.d/SuSEfirewall2_setup stop

2. 修改

vi /etc/ssh/sshd_config
修改:

#PermitRootLogin yes

PasswordAuthentication yes

3. 重启ssh服务

service sshd restart

/usr/sbin/sshd

4. 使用SecureCRT和PuTTY可以正常登录

版权声明:本文为zhang-pengcheng原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/zhang-pengcheng/p/3734869.html