2009年11月17日 星期二

ssh 禁止 root 登錄

禁止 root 登錄
# vi /etc/ssh/sshd_config
PermitRootLogin no


再重新啟動sshd就可以了
# /etc/init.d/sshd restart

沒有留言:

張貼留言