사용팁/System Digging [ssh] Could not load host key 메시지 없애기 - ssh 서버를 시작할 때 다음과 같이 Could not load host key 메시지가 뜨는 경우가 있습니다. $ sudo service ssh restart [sudo] password for mine: Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_ecdsa_key Could not load host key: /etc/ssh/ssh_host_ed25519_key * Restarting OpenBSD Secure Shell server sshd Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_ecdsa_key Could not load host key: /etc/ssh/ssh_host_ed25519_key 뭐 없어도 접속은 되는데.. 보기에 거슬려서 각각의 키를 생성했습니다. sudo ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N "" sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N "" sudo ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N "" sudo ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "" sudo service ssh restart 명령으로 재시작했더니 위의 메시지가 더 이상 발생하지 않습니다. 공유하기 게시글 관리 구독하기sr's lair '사용팁 > System Digging' 카테고리의 다른 글 무료 mib browser 프로그램 확인 20191121 (0) 2019.11.21 Acronis 복구 미디어 YUMI 에 통합하기 (0) 2019.11.18 [android] 보안 프로그램 사용시 detect black app 오류 메시지 대처법 (0) 2019.10.14 [cgvg] 우분투 18.04에서 cgvg가 오동작하는 경우 (0) 2019.07.10 [질문] 잘 열리던 http 링크 또는 html 파일이 왜 크롬에서 열리지 않을까요? (0) 2019.05.31 Contents 당신이 좋아할만한 콘텐츠 무료 mib browser 프로그램 확인 20191121 2019.11.21 Acronis 복구 미디어 YUMI 에 통합하기 2019.11.18 [android] 보안 프로그램 사용시 detect black app 오류 메시지 대처법 2019.10.14 [cgvg] 우분투 18.04에서 cgvg가 오동작하는 경우 2019.07.10 댓글 0 + 이전 댓글 더보기