[CentOS-virt] server host keys for kvm clones

Thomas Göttgens tgoettgens at gmail.com
Wed Jan 4 14:31:32 EST 2012


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
missing.

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



More information about the CentOS-virt mailing list