728x90
반응형
SMALL
1. 개요
- SSH 기본 Port를 이용하는 경우가 많지만, 보안상 취약하기 때문에 변경하는 경우가 있다
2. SSH 변경 방법
a. 'sshd_config' File Path 이동
/etc/ssh/sshd_config
b. 'sshd_config' File 내 설정 수정 후 저장
- 'Port 22'의 '22' Port 정보를 임의 정보로 변경한다
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.
Port 22
# AddressFamily any
c. SSH Service 재시작
$ Servcie sshd restart
728x90
반응형
LIST
'IT > Linux' 카테고리의 다른 글
[Linux] Tools 설치 명령어 (0) | 2023.12.12 |
---|---|
[Linux] Open JDK 설치 방법 (0) | 2023.05.04 |
[Linux] HDD 용량 Full로 인한 mount Error 조치 (0) | 2023.05.04 |
[Linux] SElinux Disable 방법 (0) | 2023.05.04 |
[Linux] mySQL Service 명령어 (0) | 2022.04.14 |