Assuming each cloned image would have a unique host name (/etc/hosts, and a few other places), I believe you HAVE to do this. The host name is tied to the key.
I discovered this by accident when I went to change the host name of an image. Till then I'd only done sshd setup once, and there I had to generate the keys manually. > -----Original Message----- > From: Post, Mark K [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 12, 2002 4:11 PM > To: [EMAIL PROTECTED] > Subject: Re: SAF: Cloning an Image? > > > Lionel, > > The "rm" command is all you need. Depending on your version > of sshd, the > files will either be in /etc/ or /etc/ssh/: > > ls /etc/ssh/*key* > /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_key > /etc/ssh/ssh_host_dsa_key.pub /etc/ssh/ssh_host_key.pub > > > Mark Post > > -----Original Message----- > From: Lionel Dyck [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 12, 2002 3:34 PM > To: [EMAIL PROTECTED] > Subject: Re: SAF: Cloning an Image? > > > and how does one delete the old ssh keys? > > thx > -------------------------------------------------------------------- > Lionel B. Dyck, Systems Software Lead > Kaiser Permanente Information Technology > 25 N. Via Monte Ave > Walnut Creek, Ca 94598 > > Phone: (925) 926-5332 (tie line 8/473-5332) > E-Mail: [EMAIL PROTECTED] > Sametime: (use Lotus Notes address) > AIM: lbdyck > > Linux on 390 Port <[EMAIL PROTECTED]> wrote on > 03/12/2002 11:38:13 > AM: > > > Just delete the old ones, change the host name, and new keys are > > created at boot time. > > > > At least that's what happened with me on SUSE 7. > > > > > -----Original Message----- > > > From: John Campbell [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, March 12, 2002 2:30 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: SAF: Cloning an Image? > > > > > > > > > One thing that has concerned me w/r/t Cloning an > > > installed image: > > > > > > Won't a procedure to create new SSH/SSL keys for the > > > copy be needed? > > > > > > -------------------- > > > John R. Campbell, Speaker to Machines (GNUrd) > {813-356|697}-5322 > > > "Will Work for CLAIM Codes" > > > IBM Certified: IBM AIX 4.3 System Administration, System Support > > > >
