다음과 같이 해줍니다.

vi /etc/ssh/sshd_config

Port 22 ==> Port 2222
# PermitRootLogin no (root 직접 로그인 막기)

/etc/rc.d/init.d/sshd restart

+ Recent posts