A Manic Developer's Place

Regenerate openssh server keys on ubuntu

August 30, 2017

Linux

Remove old keys:


sudo rm -v /etc/ssh/ssh_host_*

Generate new keys:


sudo dpkg-reconfigure openssh-server

ManicDev on Github

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/O d-pu s-:+++ a+ C+++ UL+++ P- L++ E--- W+++ N o-- K--? w++ O M+ V PS PE Y+ PGP t+ 5? X+ R tv- b+ DI- D++ G e+ h++ r++ z
------END GEEK CODE BLOCK------