2011-05-11 72 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