diff options
author | Jeremy Lin <jjlin@cs.stanford.edu> | 2014-09-15 21:16:46 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-10-03 16:20:54 +0200 |
commit | fa7d04fed4d4578fe29bdff0b5465f6e4a7da81a (patch) | |
tree | d06402280e95d3c9bb8a47a8a02ef1618e2fb340 /winbuild | |
parent | b1c4c39c5830951b805d9cb136c2e3f0237776b9 (diff) |
ssh: improve key file search
For private keys, use the first match from: user-specified key file
(if provided), ~/.ssh/id_rsa, ~/.ssh/id_dsa, ./id_rsa, ./id_dsa
Note that the previous code only looked for id_dsa files. id_rsa is
now generally preferred, as it supports larger key sizes.
For public keys, use the user-specified key file, if provided.
Otherwise, try to extract the public key from the private key file.
This means that passing --pubkey is typically no longer required,
and makes the key-handling behavior more like OpenSSH.
Diffstat (limited to 'winbuild')
0 files changed, 0 insertions, 0 deletions