From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 03:20: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 28B3016A4BF for ; Sun, 26 Oct 2003 03:20:56 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4097143FBD for ; Sun, 26 Oct 2003 03:20:55 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Sun, 26 Oct 2003 11:20:49 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 1ADiuK-0007eA-00; Sun, 26 Oct 2003 11:18:05 +0000 Date: Sun, 26 Oct 2003 11:18:04 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Frank Knobbe In-Reply-To: <1067056107.473.50.camel@localhost> Message-ID: References: <1067056107.473.50.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant 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: Sun, 26 Oct 2003 11:20:56 -0000 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?