配置ssh
# vim /etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication no
# /etc/init.d/sshd restart
配置防火墙
# vim /etc/sysconfig/SuSEfirewall2
FW_SERVICES_EXT_TCP "22"
# /sbin/rcSuSEfirewall2 restart
# vim /etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication no
# /etc/init.d/sshd restart
# vim /etc/sysconfig/SuSEfirewall2
FW_SERVICES_EXT_TCP "22"
# /sbin/rcSuSEfirewall2 restart