[CentOS-virt] server host keys for kvm clones
James B. Byrne
byrnejb at harte-lyne.ca
Wed Jan 4 17:02:44 EST 2012
On Wed, January 4, 2012 14:08, James B. Byrne wrote:
> Is there a simple script somewhere to regenerate all the
> server host keys for the new guest after cloning?
The init script /etc/rc.d/init.d/sshd handles it.
I discover that simply removing the existing ssh keys from
/etc/ssh and restarting the sshd service causes the host
keys to be regenerated.
Another step to add to post cloning housekeeping.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the CentOS-virt
mailing list