Reiner Müller's picture

How to force recreation of the SSH host keys after the next boot of the appliance?

Forum: 
Alon Swartz's picture

SSH keys are regenerated either during installation (ISO), or on firstboot (VM/EC2) using this script:
/usr/lib/live-installer.d/20regen-sshkeys
Note that the SSH daemon needs to be restarted for changes to take effect:
/etc/init.d/ssh restart
Reiner Müller's picture

Thanks for your reply.

Add new comment