Question
Ubuntu SFTP SSH access work but got error Could not load host key in log
Ubuntu SFTP SSH access work great but I got this error at beginning of every access :
error: Could not load host key: /etc/ssh/ssh_host_ed12345_key
All the log here :
Sep 2 12:21:07 Node sshd[1234]: error: Could not load host key: /etc/ssh/ssh_host_ed12345_key
Sep 2 12:21:08 Node sshd[1234]: Accepted publickey for root from 12.34.56.78 port 12345 ssh2: RSA .......
Sep 2 12:21:08 Node sshd[1234]: pam_unix(sshd:session): session opened for user root by (uid=0)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Any tips on this?
ssh-keygen -A