Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 2006 15:01:24 +0100
From:      Patrik Jansson <fbsd@aleborg.se>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Text based puttygen or equivalent
Message-ID:  <4593CE34.2000301@aleborg.se>
In-Reply-To: <4593C7BA.9000309@infracaninophile.co.uk>
References:  <4593BC14.90108@aleborg.se> <4593C7BA.9000309@infracaninophile.co.uk>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Matthew Seaman wrote:
> Patrik Jansson wrote:
>
>   
>> I want to convert OpenSSH keys to PuTTy format automagically in
>> FreeBSD so I'm looking for a text based application for this.
>> Is there any?
>>     
>
> ssh-keygen(1).  Specifically the '-e' option. putty uses the same
> format as the commercial SSH implementation.
>   
Yes, but that only exports the public key. I need to convert the
private key to one which PuTTY likes.

Something like:
PuTTY-User-Key-File-2: ssh-dss
Encryption: aes256-cbc
Comment: imported-openssh-key
Public-Lines: 10
yadayada... public key...
Private-Lines: 1
yadayada
Private-MAC: yadayda

Cheers,
Patrik



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4593CE34.2000301>