-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSH fails sometimes to generate keys, and if it does it will fail forever #424
Comments
What version of OctoPi? |
This happened on Octopi 0.14. I am convinced that I had deployed this image earlier without facing this problem, so I will try to reproduce, and see if I can figure out how this happened. |
Ok, I managed to reproduce this |
Output of
|
Great! |
Possible workaround in comment, but would prefer code will go in to Raspbian: RPi-Distro/pi-gen#128 (comment) |
Had a talk with @shift on IRC |
sounds good! Thanks for your efforts! Octopi is amazing! |
Fix in next nightly, there is now a log also in |
Hello,
On a fresh install of octopi I found that the ssh server had all of it's ssh keys filesizes to 0.
/etc/ssh/ssh_host_*
files are all at 0 bytes in size.To see this I pulled out a keyboard and monitor.
To fix it I wiped those files and ran
sudo /usr/bin/ssh-keygen -A
On other distros this usually is included in systemctl ssh scripts.
hopes this helps others.
The text was updated successfully, but these errors were encountered: