From owner-freebsd-security Fri Oct 26 8: 7:15 2001 Delivered-To: freebsd-security@freebsd.org Received: from va.cs.wm.edu (va.cs.wm.edu [128.239.2.31]) by hub.freebsd.org (Postfix) with ESMTP id 524AD37B405 for ; Fri, 26 Oct 2001 08:07:08 -0700 (PDT) Received: from corona.cs.wm.edu (corona [128.239.2.50]) by va.cs.wm.edu (8.11.4/8.9.1) with ESMTP id f9QF5rq09844 for ; Fri, 26 Oct 2001 11:05:53 -0400 (EDT) Received: (from zvezdan@localhost) by corona.cs.wm.edu (8.11.6/8.9.1) id f9QF77p07761 for security@FreeBSD.ORG; Fri, 26 Oct 2001 11:07:07 -0400 Date: Fri, 26 Oct 2001 11:07:07 -0400 From: Zvezdan Petkovic To: security@FreeBSD.ORG Subject: Re: Putty & SSH Message-ID: <20011026110707.B7631@corona.cs.wm.edu> Mail-Followup-To: security@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Bill.Melvin@esc.edu on Fri, Oct 26, 2001 at 10:39:52AM -0400 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Oct 26, 2001 at 10:39:52AM -0400, Bill.Melvin@esc.edu wrote: > > I try to connect from my M$ to a Freebsd Box using Putty via > > SSH. The keys were produced with the normal procedure > > under BSD ... > > user@fbsdbox $ ssh -V > SSH Version OpenSSH_2.3.0 ... > ^^^^^^^ > > http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#A.1.2 > Yes, but one can convert the keys in the SECSH Public Key Format using ssh-keygen -e private-or-public-OpenSSH-key-file-name >file.pub The conversion from SECSH (SSH2 compatible) format to OpenSSH is done with ssh-keygen -i private-SECSH-key-file-name >private-file ssh-keygen -i public-SECSH-key-file-name >file.pub I successfully imported the keys from the commercial SSH2 on an AIX machine and exported my public OpenSSH key to that AIX machine. Now, will that help putty I've no idea. I do not use Windows for anything except DVD movies. :-) Notice also OpenSSH keeps all authorized keys in a file authorized_keys [authorized_keys2 is deprecated and read only since version 2.9.9], while the commercial SSH2 uses a file called authorization which has the content: key file.pub ... Again, how this works in putty I do not know, but if it's reasonable to suppose it works similar. Isn't it? -- Zvezdan Petkovic http://www.cs.wm.edu/~zvezdan/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message