Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2001 08:54:08 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        Odhiambo Washington <wash@iconnect.co.ke>
Cc:        FBSD-Q <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Host Keys - ssh
Message-ID:  <20010323085408.B24064@itouchnz.itouch>
In-Reply-To: <20010322161057.A8986@poeza.iconnect.co.ke>; from wash@iconnect.co.ke on Thu, Mar 22, 2001 at 04:10:57PM %2B0300
References:  <20010322161057.A8986@poeza.iconnect.co.ke>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 22, 2001 at 04:10:57PM +0300, Odhiambo Washington wrote:
> How do I regenerate a host key?

You can get the system to generate a totally new one on bootup be
removing /etc/ssh/*key and /etc/ssh/*pub. Of course once you do this,
every client that used to connect to your box will then be presented
with a warning about "man-in-the-middle" attack.

Cheers.
-- 
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                         Power corrupts, Absolute Power is pretty neat


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010323085408.B24064>