sshd: 인식할 수 없는 서비스

sshd: 인식할 수 없는 서비스

sshd를 시작하려고 하는데 다음과 같은 오류가 발생합니다.

sshd: unrecognized service

그런데 sshd가 제대로 설치된 것 같네요(?)

# rpm -qa | grep ssh
libssh2-1.4.2-2.el6_7.1.x86_64
openssh-5.3p1-117.el6.x86_64
openssh-clients-5.3p1-117.el6.x86_64

# which sshd
/usr/sbin/sshd

SSHD를 인식하기 위해 서비스에서 해야 할 일이 있나요? /etc에서도 이걸 볼 수 있어

# ls /etc/ssh
moduli       sshd_config           ssh_host_key      ssh_host_rsa_key.pub
ssh_config   ssh_host_dsa_key      ssh_host_key.pub
sshd-banner  ssh_host_dsa_key.pub  ssh_host_rsa_key

답변1

RPM이 설치되어 있지 않은 것 같습니다 openssh-server. 이는 /usr/sbin/sshd및 - 를 모두 제공하는 RPM이며 명령이 작동하려면 /etc/init.d/sshd후자의 스크립트가 있어야 합니다 .service sshd ...

/usr/sbin/sshdRPM 이 없는 것처럼 보이는 이유는 openssh-server무엇인지 모르겠습니다.

관련 정보