摘要:
打开sshd服务service sshd statuschkconfigsshd on // sshd服务开机自动启动service sshd start防火墙打开22端口iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT原因如下:1.在/etc/ssh/sshd_config文件中找到ssh所对应的端口2.在/etc/ssh/sshd_config文件中设置PasswordAuthentication yes3.在/etc/ssh/sshd_config文件中设置PermitRootLogin yes(这里只有root一个用户名,只能先 阅读全文
posted @ 2012-11-23 22:58
shadowturtle
阅读(151)
评论(0)
推荐(0)

浙公网安备 33010602011771号