반응형
SSH 설치 및 설정
- sshd 설치 확인
- `ps -ef | grep openssh-server
- ssh 설치
$ yum install -y openssh-server
$ systemctl restart sshd
$ systemctl enable sshd
- ssh 포트 설정
vi /etc/ssh/sshd_config
에서 port 22 주석 제거
- 방화벽 해제
firewall-cmd --zone=public --add-port=22/tcp --permanent
- ssh 재시작
systemctl restart sshd
반응형
'Linux' 카테고리의 다른 글
리눅스 설치 관련 rpm, yum, dnf, repository 명령어 정리 (0) | 2022.08.10 |
---|---|
리눅스 런레벨(run level) 정리 (0) | 2022.08.10 |
ps 명령어 정리 (0) | 2022.08.10 |
리눅스 아파치(Apache) 설치 (0) | 2022.08.10 |
Firewall 명령어 정리 (0) | 2022.08.10 |