commit | 0b2ea36e9af5120498e42c63d57abbe393c387d5 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Sat May 16 11:33:53 2009 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Sat May 16 11:33:53 2009 -0700 |
tree | c7287c7baf7fa797930d7d0176c48412a09233d2 | |
parent | f51e9792375c0bcfa05a341ab8f43c872a0aef4c [diff] |
Sort the RSA host key before the DSA host key The OpenSSH client appears to prefer the RSA host key if it is available from the server when updating ~/.ssh/known_hosts, so we should display that first if there are multiple keys, as it is what the end-user would likely try to match the fingerprint against when doing a visual key comparsion. Signed-off-by: Shawn O. Pearce <sop@google.com>