cURL / Mailing Lists / curl-library / Single Mail


Re: [PATCH] ssh: improve key file search

From: Daniel Stenberg <>
Date: Mon, 15 Sep 2014 00:05:59 +0200 (CEST)

On Thu, 11 Sep 2014, Jeremy Lin wrote:

> 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.


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?

List admin:
Received on 2014-09-15