카테고리 없음

sshd 에서 root 로 로그인 막기

[czar] 2011. 1. 18. 15:58

sshd 에서 root 로 로그인 막기


[root@localhost]#vi /etc/ssh/sshd_config
# Authentication:

#LoginGraceTime 2m
PermitRootLogin no    <----------- 이거 추가
#StrictModes yes
#MaxAuthTries 6


[root@data ssh]# /etc/rc.d/init.d/sshd restart