2011-05-11 71 views

回答

1

正如其他答案指出,由于该文件是在SSH.COM格式,可以转换为OpenSSH格式,只是打开文件来检查ssh-dsassh-rsa

To convert your SSH.COM key to OpenSSH format use: 

ssh-keygen -i -f ssh_key.pub 

From the ssh-keygen manpage 

-i This option will read an unencrypted private (or public) key 
     file in SSH2-compatible format and print an OpenSSH 
     compatible private (or public) key to stdout. ssh-keygen 
     also reads the `SECSH Public Key File Format'. This option 
     allows importing keys from several commercial SSH 
     implementations. 
-f Specifies the filename of the key file. 

来源:http://landru.uwaterloo.ca/cgi-bin/wiki.pl?OpenSSH_-_SSH.Com_Interoperability

+0

的作品.....谢谢! – jerle78 2011-05-11 17:58:41

0

您可以使用ssh-凯基获得指纹和.pub文件类型了:

ssh-keygen -lf id_rsa.pub