wiki-grav/pages/04.other/02.ssh/02.regenerate-ssh-keys/default.en.md
2022-06-25 11:32:42 +02:00

230 B

title
Regenerate SSH Keys

Remove from known_hosts

$ ssh-keygen -R (server name)

Debian

Remove the old Hostkeys
# rm -v /etc/ssh/ssh_host_*

Generate new Hostkeys
# dpkg-reconfigure openssh-server