curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Possibility to specify preferred host key algorithms

From: Daniel Stenberg via curl-users <>
Date: Fri, 16 Aug 2019 17:05:02 +0200 (CEST)

On Fri, 16 Aug 2019, hannes via curl-users wrote:

> In OpenSSH there exists the possibility to use the HostKeyAlgorithms option
> to specify which host key algorithms to use. When using curl/libcurl
> together with libssh2, there is however no counterpart to this option.

Ah yes, that's indeed the situation.

> With an option of setting a preferred host key algorithm, this problem could
> be avoided. Could this be a reasonable feature for curl/libcurl (and
> possibly libssh2)?

It makes perfect sense so yes, that would most certainly be useful for ssh

It would probably require that libcurl gets the feature to tickle the
underlying ssh library correctly and then curl needs to tell libcurl...

If anyone is interested in diving in with some curl development this sounds
like a good task. It is not something that is on the top of my personal TODO

  / | Get the best commercial curl support there is - from me
                   | Private help, bug fixes, support, ports, new features
Received on 2019-08-16