[CentOS-virt] server host keys for kvm clones

Wed Jan 4 19:31:32 UTC 2012
Thomas Göttgens <tgoettgens at gmail.com>

Hi James,

depending on your use case:

if you source is a template VM: just delete the keys prior to cloning
in the source VM

if you source is a production VM: just delete the keys after cloning
on the newly cloned VM

The keys will be regenerated on next startup of openssh if they're

am Mittwoch, 4. Januar 2012 um 20:08 schrieben Sie:

> Respecting cloning vm guests, I see in /etc/ssh the
> following:

> ssh_host_dsa_key
> ssh_host_dsa_key.pub
> ssh_host_key
> ssh_host_key.pub
> ssh_host_rsa_key
> ssh_host_rsa_key.pub

> Is there a simple script somewhere to regenerate all the
> server host keys for the new guest after cloning?

Mit freundlichen Grüßen
Thomas Göttgens
mailto:tgoettgens at gmail.com