cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] ssh: improve key file search

From: Daniel Stenberg <daniel_at_haxx.se>
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.

Thanks!

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?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-15