How to use publickey from x509 certificate?

Tanja Wittke tawi at gruft.de
Sat Jul 10 01:29:26 EST 2004


On Fri, Jul 09, 2004 at 10:58:05AM -0400, Paul Myers wrote:
> An SSH RSA1 Key looks like the one you describe as used in SSH1 for example.
> 
> An SSH RSA Key looks like the one extracted I believe.
> 
> Please correct me if I am wrong...

Sorry, but using 

ssh-keygen -t rsa -f <filename> creates the following (test) pubkey for 
ssh2:

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAuaJIafCnHyrItU1PGBwdPrdh8lUcHYmw
YtnYnXIcm+Oaf+5uNBAfPbcKWVe8SyJDW3Y5WigB4rMswHzYr8mzwT6fgsmbw9u2il26
IlaIiesbwmuEjJ76u5uGAHiI6zI8Dts079wPMPJzo+ks8LYKFZZiPKs8+Myom+7BVs8D
Vrc= blablubb

(Well, in one line of course, i just inserted line breaks for the mail).

Using ssh-keygen -t rsa1 -f <filename> creates keys in RSA1 for SSH1 
which look different.

My problem is that openssh keys are different from the key structure 
explained in draft-ietf-secsh-transport. And the only information i have 
found so far is "openssh keys use a different format". But not, which 
one...
I know that the key consists of a header, a base64 encoded key blob and 
a comment. But my key blob still seems to be broken, that's why I asked 
here.

- tawi




More information about the openssh-unix-dev mailing list