Network

CentOS Linux에서 SSH 포트 번호 변경 방법

췌엠 2012. 2. 19. 04:07

다음과 같이 해줍니다.

vi /etc/ssh/sshd_config

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

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