Regenerating SSH keys
Wednesday, April 15th, 2009We thought it would be good to share this simple command to regenerate SSH keys:
rm -fr /etc/ssh/*key* service sshd restart
Please be careful when executing this command, it will remove files without confirmation!
In normal situations you would never need this…
However it can be usefull when cloning machines.