This bash script regenerates the SSH host keys on a newly, template created, VM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

174B

SSH Host Key Generate

This script regenerates the SSH host keys on a newly, template created, VM

Add the full path of the script in /etc/rc.local, just above exit 0.