'ssh'에 해당되는 글 1건

  1. 2011.01.18 sshd 에서 root 로 로그인 막기

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


Posted by [czar]
,