Red Hat Bugzilla – Bug 18598
ssh-keygen -l does not work for dsa keys
Last modified: 2008-05-01 11:37:59 EDT
I am running 2.2.0p1-2 but this also seems to occur with 2.1.1p4-1.
While ssh-keygen -l -f .ssh/identity.pub works fine by printing the
fingerprint and id, it does not work for dsa keys.
Running ssh-keygen -d -l -f .ssh/id_dsa.pub produces the message
".ssh/id_dsa.pub is not a valid key file".
The ssh-keygen tool doesn't know how to read DSA keys. We're testing a possible
The fix appears to work correctly and will be included in the upcoming errata.