ssh - DSA vs RSA: how can you tell -
does have tool use in order differentiate rsa public key vs dsa public key? have 2 ssh .pub files , need know if they're rsa or dsa.
as noted in other answer, since file in ssh.com format, can convert openssh format , open file check ssh-dsa
or ssh-rsa
:
to convert ssh.com key openssh format use: ssh-keygen -i -f ssh_key.pub ssh-keygen manpage -i option read unencrypted private (or public) key file in ssh2-compatible format , print openssh compatible private (or public) key stdout. ssh-keygen reads `secsh public key file format'. option allows importing keys several commercial ssh implementations. -f specifies filename of key file.
source: http://landru.uwaterloo.ca/cgi-bin/wiki.pl?openssh_-_ssh.com_interoperability
Comments
Post a Comment