From owner-freebsd-questions Tue Jun 12 5: 1:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from alligator.wananchi.com (alligator.wananchi.com [62.8.64.108]) by hub.freebsd.org (Postfix) with ESMTP id 1FDCD37B401 for ; Tue, 12 Jun 2001 05:01:24 -0700 (PDT) (envelope-from wash@alligator.wananchi.com) Received: from wash by alligator.wananchi.com with local (Exim 3.22 #1) id 159mn2-0005xc-00; Tue, 12 Jun 2001 14:56:56 +0300 Received: from upagraha.iconnect.co.ke ([209.198.248.2] helo=siafu.iconnect.co.ke) by poeza.iconnect.co.ke with esmtp (Exim 3.20 #1) id 14gDQz-0003qx-00 for wash@poeza.iconnect.co.ke; Fri, 23 Mar 2001 01:19:57 +0300 Received: from [212.22.161.3] (helo=ns2.iconnect.co.ke) by siafu.iconnect.co.ke with esmtp (Exim 2.12 #1) id 14gDNL-000O3f-00 for wash@iconnect.co.ke; Fri, 23 Mar 2001 01:16:11 +0300 Received: from amavis by ns2.iconnect.co.ke with scanned-ok (Exim 3.12 #1) id 14gDOp-000Nug-00 for wash@iconnect.co.ke; Fri, 23 Mar 2001 01:17:43 +0300 Received: from smtp015.mail.yahoo.com ([216.136.173.59]) by ns2.iconnect.co.ke with smtp (Exim 3.12 #1) id 14gDOl-000Npc-00 for wash@iconnect.co.ke; Fri, 23 Mar 2001 01:17:40 +0300 Received: from h2.impactidealsolutions.com (HELO support10) (216.98.200.91) by smtp.mail.vip.sc5.yahoo.com with SMTP; 22 Mar 2001 22:17:26 -0000 X-Apparently-From: Message-Id: Date: Thu, 22 Mar 2001 15:19:05 -0700 X-Priority: 3 From: Peter X-Mailer: Mail Warrior To: wash@iconnect.co.ke Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: Text/Plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8Bit X-Mailer-Version: v3.57 Subject: Re:Host Keys - ssh Status: RO Lines: 59 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG check out /etc/rc.network and search for ssh it has good examples in there, that is where I figured it out. ssh-keygen -b 1024 -f /etc/ssh_host_key -N "" ssh-keygen -d -f /etc/ssh_dsa_host_key -N "" The first line generates the protocol 1 key, the second generates the protocol 2 key. of course substitue the corect dir where those keys are supposed to go I think /etc/ssh/ is the place on FBSD [been using too much solaris lately]. On 03/22/2001 6:10:57 AM, Odhiambo Washington is quoted as saying: . . . .|How do I regenerate a host key? . . . .| . . . .|TIA . . . .| . . . .|-Wash . . . .| . . . .|-- . . . .|Odhiambo Washington Inter-Connect Ltd., . . . .|wash@iconnect.co.ke 5th Flr Furaha Plaza . . . .|Tel: 254 11 222604 Nkrumah Rd., . . . .|Fax: 254 11 222636 PO Box 83613 MOMBASA, KE. . . . .| . . . .|Mathematics transfigures the fortuitous concourse of atoms into the tracery of . . . .|the finger of God. -Herbert Westren Turnbull . . . .|(contributed by Chris Johnston) . . . .| . . . .|-----BEGIN PGP SIGNATURE----- . . . .|Version: GnuPG v1.0.4 (FreeBSD) . . . .|Comment: For info see http://www.gnupg.org . . . .| . . . .|iD8DBQE6ufnhA2k+MNyI/bERAoYHAJ4gBrA+WfFewotoEol+ps/sumKZHQCf c6JQ . . . .|MdNjrZPHNwGdJ3sl9mO0Sug= . . . .|=nlam . . . .|-----END PGP SIGNATURE----- . . . .| www.nul.cjb.net www.FreeBSD.org _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message