Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2001 15:19:05 -0700
From:      Peter <fbsdq@yahoo.com>
To:        wash@iconnect.co.ke
Cc:        freebsd-questions@freebsd.org
Subject:   Re:Host Keys - ssh
Message-ID:  <SAK.2001.03.22.abnsdtoi@support10>

next in thread | raw e-mail | index | archive | help
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




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