Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2003 09:40:49 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Frank Knobbe <frank@knobbe.us>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ssh keys - howto?
Message-ID:  <20031025084049.GB65979@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <1067056107.473.50.camel@localhost>
References:  <OFEA390B11.792C338A-ON88256DC9.007B1F77-88256DC9.007BB39A@simrad.no> <1067056107.473.50.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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