Linux OS/트러블슈팅

sshd 가 재시작일 안될때

서버엔지니어 2023. 4. 1. 23:19
728x90

sshd -T 명령어 입력시 나오는 에러코드를 체크해줍니다.

sshd -T
[Error] sshd: no hostkeys available -- exiting

 

dnf reinstall -y openssh-server openssh-client
ssh-keygen -A