Operating System - HP-UX
1832685 Members
2984 Online
110043 Solutions
New Discussion

qustion:question of ssh-keygen translate private key??

 
小马哥_1
Contributor

qustion:question of ssh-keygen translate private key??

qustion:question of ssh-keygen translate private key??


dsa 1024bit key: Identity andIdentity.pub create by secureCRT

upload to /.ssh OpenSSH

#ssh-keygen -i -f Identity.pub>authorized_keys OK

but translate private key:Identity ,there is error

#ssh-keygen -i -f Identity>id_dsa
key_from_blob: remaining bytes in key blob 844


I don't know why how can I resolve it??
2 REPLIES 2
Matti_Kurkela
Honored Contributor

Re: qustion:question of ssh-keygen translate private key??

The public key file format is fairly well established: there are only two variations (commercial SSH and openSSH) and conversion between them is easy.

However, it is not so easy with private keys: many products use their own custom formats for private key files. It appears SecureCRT is one of these products.

http://www.vandyke.com/products/securecrt/
says:
"You can now [...] convert existing VanDyke Software format private keys to OpenSSH format..."

This suggests you must use VanDyke Software's converter to translate the private keys to OpenSSH format: OpenSSH's "ssh-keygen -i" understands only ssh.com's format, and VanDyke Software has used a different format for private keys.

MK
MK
小马哥_1
Contributor

Re: qustion:question of ssh-keygen translate private key??

thank you Matti Kurkela


secureCRT5.5 is OK