ssh-keygen listing fingerprints little unclear
Magnus Bodin
magnus at bodin.org
Wed Jul 24 17:35:34 EST 2002
Since ssh-keygen is not listing the _types_ of keys I have in my file,
wouldn't it be a good idea to make the -t switch filtering out the
selected type of key when doing a listing with -l?
i.e. in this case I see both rsa1, rsa, and dss keys:
$ ssh-keygen -l -f ~/.ssh/known_hosts
1024 a9:4f:0b:b6:33:d7:d0:ad:6a:11:b4:57:25:7e:1e:f8 fluff.x42.com
1024 9d:f8:d4:62:dc:3d:fb:26:2a:03:f4:d3:5f:8b:df:39 pingu.framtid.nu
1024 69:6a:0e:49:01:c6:ef:16:65:3e:26:39:21:e2:84:fe pingu.framtid.nu
So if I do
$ ssh-keygen -l -t rsa -f ~/.ssh/known_hosts
I actually would like to see
1024 a9:4f:0b:b6:33:d7:d0:ad:6a:11:b4:57:25:7e:1e:f8 fluff.x42.com
1024 69:6a:0e:49:01:c6:ef:16:65:3e:26:39:21:e2:84:fe pingu.framtid.nu
Doesn't it make sense?
(or adding the types to the listing)
/magnus
--
http://x42.com/
More information about the openssh-unix-dev
mailing list