From owner-freebsd-questions@FreeBSD.ORG Sat Oct 25 01:40:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FDF616A4B3 for ; Sat, 25 Oct 2003 01:40:56 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9A3543F75 for ; Sat, 25 Oct 2003 01:40:54 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h9P8enDK066587 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 25 Oct 2003 09:40:50 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h9P8enGs066586; Sat, 25 Oct 2003 09:40:49 +0100 (BST) (envelope-from matthew) Date: Sat, 25 Oct 2003 09:40:49 +0100 From: Matthew Seaman To: Frank Knobbe Message-ID: <20031025084049.GB65979@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Frank Knobbe , chip.wiegand@simrad.com, freebsd-questions@freebsd.org References: <1067056107.473.50.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZfOjI3PrQbgiZnxM" Content-Disposition: inline In-Reply-To: <1067056107.473.50.camel@localhost> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: chip.wiegand@simrad.com cc: freebsd-questions@freebsd.org Subject: Re: ssh keys - howto? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 08:40:56 -0000 --ZfOjI3PrQbgiZnxM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 24, 2003 at 11:28:27PM -0500, Frank Knobbe wrote: > On Fri, 2003-10-24 at 17:28, chip.wiegand@simrad.com wrote: > > Okay, I'm stumped. Just need to get ssh keys working. I have FBSD-5.1 w= eb=20 > > server with > > sshd running. I have a workstation running W2K with WinSCP3. I have tri= ed=20 > > Puttygen to=20 > > create the keys and copied the key to .ssh directory on FBSD, renamed i= t=20 > > authorized_keys > > but it don't work. I then ran ssh_keygen on the BSD box, but don't know= =20 > > what to do with the=20 > > two files it created, there are no instructions about that part in the = man=20 > > file. Does anyone > > have a how-to on settup of ssh between w2k and fbsd? >=20 >=20 > I'm not aware of a How-To, but you have to create the files on FBSD. > Then copy them to Putty. There should be an option in Putty to convert > the OpenSSH keys to Putty keys. Once converted, they will work. >=20 > See the Putty Help files of web site for more info. Yes -- the Windows SSH clients generally use the SSH2 key format from the commercial SSH corp. ssh program. The key files are stored in a different format to OpenSSH, but the keys themselves are compatible over the wire when connecting between different SSH variants. You can convert keys from commercial SSH programs to OpenSSH format using ssh-keygen(1) with the '-i' flag, or as Frank says, some of the Windows clients will accept OpenSSH format key files. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --ZfOjI3PrQbgiZnxM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/mjcRdtESqEQa7a0RAmZTAKCZ+tmVw8uytA4dDsHIJ8XxZkQ3IQCeKBgR 7NUb2yjFV1Dgt5vBq2i3yjM= =x79q -----END PGP SIGNATURE----- --ZfOjI3PrQbgiZnxM--