ryan29
Posts: 8
Joined: Thu Apr 19, 2012 8:29 pm

Re: Re-generate OpenSSH host keys on first boot.

Fri Apr 20, 2012 4:38 am

Most Raspberry Pis running the Debian images are probably sharing the same private key at the moment.  Users can re-generate them by hand…rm /etc/ssh/ssh_host_* && dpkg-reconfigure openssh-server

Killduke
Posts: 2
Joined: Sun Dec 08, 2019 2:15 pm

Re: Re-generate OpenSSH host keys on first boot.

Sun Jan 05, 2020 2:45 pm

I had the same thought and solved it in the same way but I noticed that dpkg-reconfigure did not regenerate the dsa key. Is this normal or is it a problem?
Thank you
Regards

User avatar
pi-anazazi
Posts: 685
Joined: Fri Feb 13, 2015 9:22 pm
Location: EU

Re: Re-generate OpenSSH host keys on first boot.

Sun Jan 05, 2020 5:33 pm

The identical keys thing is pure fun, didn't know that!

DSA:

https://superuser.com/questions/1016989 ... entication
Kind regards

anazazi

Return to “General discussion”