Re: [PATCH] ssh: improve key file search

2014-09-15 Thread Jeremy Lin
On Sun, Sep 14, 2014 at 3:05 PM, Daniel Stenberg dan...@haxx.se wrote: This seems like a reasonable change indeed. Could you also take a look at updating the documentation so that it matches what the new code does? Sure, I've attached an updated patch. Let me know if I missed anything, thanks.

[PATCH] ssh: improve key file search

2014-09-11 Thread Jeremy Lin
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