Regenerating SSH Keys for a new Kali installation

Randomise your keys after using a Kali image for the first time.

You don’t want to use the same keys as everyone else do you?

cd /etc/ssh/
sudo mkdir default_kali_keys
sudo mv ssh_host_* default_kali_keys/
sudo dpkg-reconfigure openssh-server

Leave a Comment