Yeah, that's step 2: copy the keys over top of the old ones. Yes, this
would change the host key and generate warnings to clients who've saved
the old key. I'm assuming that the fellow has some reason to want to
replace his host key or he'd not have asked...
--
Gregor Mosheh
[EMAIL PROTECTED]
Systems Admin, Humboldt Internet
707.825.4638
On Wed, 5 Jan 2000, Tamara Thompson wrote:
> But does running ssh-keygen replace the existing host key that was created when the
>install was done?
>
> Cause if it does, the next time an attempt to connect to the host is made, ssh will
>recognize the key as different won't it?
>
> Tamara
>
> >>> Gregor Mosheh <[EMAIL PROTECTED]> 01/05 11:38 AM >>>
>
> Run ssh-keygen and a pair of files will be generated: a private key and a
> public key. The public key will be the one with a .pub suffix.
>
> Copy these keys to the appropriate place for your host. If SSH2, it's
> /etc/ssh2/hostkey and /etc/ssh2/hostkey.pub If SSH1, it's
> /etc/ssh_host_key and /etc/ssh_host_key.pub
>
> --
> Gregor Mosheh
> [EMAIL PROTECTED]
> Systems Admin, Humboldt Internet
> 707.825.4638
>
>
> On Wed, 5 Jan 2000, Mark E. Drummond wrote:
>
> > I am looking at ssh-keygen and asking myself, ok, how the heck do I use
> > it to create a new host key? I've done this before, but, my bad, I did
> > not write down how I did it ... a thousand lashings ...
> >
> > --
> > ___________________________________________________
> > Mark Drummond|ICQ#19153754|mailto:[EMAIL PROTECTED]
> > Gang Warily|http://signals.rmc.ca/
> >
>
>
>