curl / Mailing Lists / curl-library / 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.

[Discussion] Have curl honor OpenSSH configurations

From: Randall via curl-library <>
Date: Thu, 11 Aug 2022 10:23:08 -0400


Originally opened by Ben Voris. The request was to have curl support OpenSSH
config specifications. I am opening a discussion on this subject from the
above case. The ask is whether it would make sense to have an option to
allow curl to honor ~/.ssh/config while attempting to connect?

Ben Voris has a significant usability point in the case, including: " I had
hoped that because curl libssh and libssh uses OpenSSH, it would honor the
config file and so allow curl to behave like OpenSSH clients."

Many software projects other than OpenSSH honor ~/.ssh/config. An option in
curl like --use-ssh-config might be something of value even if not the


Brief whoami: NonStop&UNIX developer since approximately
-- In real life, I talk too much.
Received on 2022-08-11