Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2003 11:18:04 +0000 (GMT)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        Frank Knobbe <frank@knobbe.us>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ssh keys - howto?
Message-ID:  <Pine.GSO.4.58.0310261115250.11303@mail.ilrt.bris.ac.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
On Fri, 24 Oct 2003, 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 web
> > server with
> > sshd running. I have a workstation running W2K with WinSCP3. I have tried
> > Puttygen to
> > create the keys and copied the key to .ssh directory on FBSD, renamed it
> > authorized_keys
> > but it don't work. I then ran ssh_keygen on the BSD box, but don't know
> > what to do with the
> > two files it created, there are no instructions about that part in the man
> > file. Does anyone
> > have a how-to on settup of ssh between w2k and fbsd?
>
>
> I'm not aware of a How-To, but you have to create the files on FBSD.

No, you don't. Use puttygen to create the key (as you've done) and copy
the public half of it to your FreeBSD box (as you've done). Note that
puttygen itself is not sufficient; you need to let the putty session
know to use your private key - there's an option somewhere on the
session details. Once you've done that it should all "just work". If you
continue to have problems it's worthwhile looking to get putty to dump
debug information as it tries to connect (again, there's an option for
this somewhere IIRC).


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
New Freedom of Information Act: theirs, to yours. Happy now?



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