Red Hat Bugzilla – Bug 22186
ssh-add -l shows filenames instead of comments for DSA keys.
Last modified: 2007-04-18 12:30:11 EDT
1024 db:5a:9c:fd:11:25:23:c0:37:c8:19:d3:97 firstname.lastname@example.org
1024 78:24:04:95:40:b2:80:9b:94:d5:56:19:65 email@example.com
1024 4e:bd:62:75:62:df:26:34:6b:a5:12:9a:82 /home/dwmw2/.ssh/id_dsa
1024 e4:01:5c:f3:6f:de:c6:b4:2d:b2:72:fd:be /home/dwmw2/.ssh/id_dsa
Of course, it's fairly simple to guess in this case which the two DSA keys
are - they're the matching pair for the properly-identified RSA keys. But
it's not ideal.
On further investigation, I'm not convinced that the DSA keys actually _have_
comments. Whether this is because the DSA keys _can't_ have comments, or whether
ssh-keygen -d just doesn't add them by default, I don't know.
You are correct. SSH protocol v.2 keys (RSA and DSA) do not have comments which
are sent over the wire like SSH v.1 keys.
Seems to be a feature.