From owner-freebsd-questions Thu Mar 22 12:55:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id CAE2E37B71B for ; Thu, 22 Mar 2001 12:55:12 -0800 (PST) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.2/8.11.1) id f2MKs8f24727; Fri, 23 Mar 2001 08:54:08 +1200 (NZST) (envelope-from jonc) Date: Fri, 23 Mar 2001 08:54:08 +1200 From: Jonathan Chen To: Odhiambo Washington Cc: FBSD-Q Subject: Re: Host Keys - ssh Message-ID: <20010323085408.B24064@itouchnz.itouch> References: <20010322161057.A8986@poeza.iconnect.co.ke> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010322161057.A8986@poeza.iconnect.co.ke>; from wash@iconnect.co.ke on Thu, Mar 22, 2001 at 04:10:57PM +0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ---------------------------------------------------------------------- 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