1、首先在图形界面上,点击左下角电脑图标,如图所示
2、在打开的界面中,选择带扳手的图标在右侧选择YaST 如图所示
3、在打开的YaST control center界面中,在左侧Filter输入firewall找到防火墙,如图
4、停止防火墙,在打开的界面选择disable firewall automatic stating 点击next
5、使用命令行停止防火墙/etc/init.d/SuSEfirewall2_init stop/et罕铞泱殳c/in足毂忍珩it.d/SuSEfirewall2_setup stop在使用chkconfig --level 345SuSEfirewall2_init offchkconfig --level 345SuSEfirewall2_setup off
6、这时候用telnet测试端口发现端口正常,用ssh发现输入root,仍然无法登陆
7、修改/etc/ssh/sshd_config文件:#PermitRootLogin yes这个开关打开后,实际并不起作用实际真正起作用的是:PasswordAuthentication no改为yes