Ubuntu/regen ssh host keys

From Omnia
Jump to navigation Jump to search

regen ssh host keys <ref>

sudo /bin/rm -v /etc/ssh/ssh_host_*
sudo dpkg-reconfigure openssh-server
sudo systemctl restart ssh