1、防火墙 # vi /etc/sysconfig/SuSEfirewall2 查找FW_SERVICES_EXT_TCP,写入FW_SERVICES_EXT_TCP=”ssh” 2、ssh配置文件 # vi /etc/ssh/sshd_config 确保以下两项: PasswordAuthentication yes PermitRootLogin yes 3、重启防火墙和ssdh /sbin/rcSuSEfirewall2 restart /etc/init.d/sshd restart