Help with exporting keys

Markus Friedl markus at openbsd.org
Wed Sep 12 21:05:11 EST 2001


openssh can only handle _unencrypted_ private keys from ssh.com

On Mon, Sep 10, 2001 at 06:32:25PM -0500, Krishnakumar B wrote:
> Hi,
> 
> In our department's setup we have a unfortunate situation where we have to
> use both OpenSSH and SSH (ssh.com's version). I have managed to export keys
> from OpenSSH to SSH's format. I also managed to export SSH's public key to
> OpenSSH's format. Now I would like to add the private key of SSH to the
> agent. Now when I try to add it simply by using
> 
>   ssh-add ~/.ssh2/id_dsa_1024_a
> 
> I get a bad passphrase error. I thought that this was because OpenSSH
> couldn't grok the private key generated by SSH. When I tried exporting
> SSH's private key as follows:
> 
> With SSH version 2.0.12 and OpenSSH_2.9p2
> -----------------------------------------
> 
> samba> ssh-keygen -i -f ~/.ssh2/id_dsa_1024_a
> uudecode failed.
> 
> 
> With SSH version 2.4.0 and OpenSSH_2.9p2
> ----------------------------------------
> 
> samba> ssh-keygen -i -f ~/.ssh2/id_dsa_1024_b
> unsupported cipher 3des-cbc
> decode blob failed.
> 
> Anybody know why this export is failing ? Any workarounds for this ? I am
> generating the SSH keys on Solaris and Tru64. I am trying the export with
> OpenSSH on Linux/i686.
> 
> -kitty.
> 
> -- 
> Krishnakumar B <kitty at cs dot wustl dot edu>
> Distributed Object Computing Laboratory, Washington University in St.Louis



More information about the openssh-unix-dev mailing list