1. 기본 포트 확인
# netstat -an | grep 22
2. ssh 포트 9922로 변경
- /etc/ssh/sshd_config에 아래 내용 추가
> Port 9922
3. ssh 서비스 재시작
# systemctl restart sshd
'Linux' 카테고리의 다른 글
[Linux] CentOS NTP 설정 (0) | 2020.04.21 |
---|---|
[Linux] CentOS7 default gateway 설정 (0) | 2020.03.18 |
[Linux] shutdown, reboot 명령어 (0) | 2020.03.16 |
[Linux] CentOS 부팅시 데몬 시작하기, chkconfig (0) | 2020.03.14 |
[Linux] 동기화를 위한 rsync 명령어 (0) | 2020.03.13 |