Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 11:07:07 -0400
From:      Zvezdan Petkovic <zvezdan@CS.WM.EDU>
To:        security@FreeBSD.ORG
Subject:   Re: Putty & SSH
Message-ID:  <20011026110707.B7631@corona.cs.wm.edu>
In-Reply-To: <OF8368513D.1D19E6E1-ON85256AF1.005019DA@esc.edu>; from Bill.Melvin@esc.edu on Fri, Oct 26, 2001 at 10:39:52AM -0400
References:  <OF8368513D.1D19E6E1-ON85256AF1.005019DA@esc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <zvezdan@cs.wm.edu>
http://www.cs.wm.edu/~zvezdan/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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