Linux

Regenerate new SSH keys

## Change ssh keys
ssh-keygen -t rsa -b 4096
echo "Regenerating SSH Host keys..."
rm -rfv /etc/ssh/*key*
/sbin/service sshd restart

More related posts