NetBSD 를 처음 설치하면 SSH(Secure Shell) 데몬이 비활성화 되어 있다.
/etc/rc.conf 파일에
한줄 추가 해주면 된다.

ruo91# echo ‘sshd=”YES”‘ >> /etc/rc.conf

ruo91# cat /etc/rc.conf | grep ssh
sshd=”YES”

 

sshd_conf
파일을 수정 한다.

ruo91# vi /etc/ssh/sshd_config
# SSH가 사용할 포트 설정이다.
Port 22
# 루트로 로그인 할건지 여부
PermitRootLogin yes
# 패스워드 인증
PasswordAuthentication yes
ChallengeResponseAuthentication no

 

SSH 데몬 시작.

ruo91# /etc/rc.d/sshd start