Jump to content

ssh host keys not generated


broodwich82

Recommended Posts

This is on a 4GB NanoPi M4 v1.

 

There are a number of files matching the spec '/etc/ssh/ssh_host_*' but they are all zero bytes, which renders the machine inaccessible by ssh.

 

I'm pretty sure this is happening on every install, I've been troubleshooting and reinstalled several times from the latest image and ssh was not working at any time.

 

Link to comment
Share on other sites

13 minutes ago, broodwich82 said:

I'm pretty sure this is happening on every install

I doubt, it look more like file system corruption...

Run this to get it back on track by accessing the board thru Serial Debug :

rm -f /etc/ssh/ssh_host*
dpkg-reconfigure openssh-server

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines