이 문서는 SSH 설치에 대한 정보를 공유하기 위해 작성되었다. 

Cent OS

ssh 설치

ssh 설치를 위해 다음 명령을 실행할 수 있다. 

yum install openssh-server openssh-clients openssh-askpass


ssh server 포트 변경

ssh server의 설정을 위해 다음 파일을 편집한다.

vi /etc/sshd_config


Port 22
PermitRootLogin no


ssh 실행

ssh 서버를 실행하기 위해 다음 명령을 수행한다.

/etc/init.d/sshd start


ssh 구동 확인

ssh 구동 확인을 위해 다음을 수행합니다. 

ps -ef | grep sshd