curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. 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 Daniel himself.

Re: Downloading from SFTP: my code vs. curl

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 22 May 2024 15:51:03 +0200 (CEST)

On Wed, 22 May 2024, Alexander Dyagilev via curl-library wrote:

> curl fails to download with error message: curl (60) SSL peer certificate or
> SSH remote key was not OK.

Probably this:

    curl_easy_setopt(hnd, CURLOPT_SSH_KNOWNHOSTS ....)

... and then that file does not contain the details for the host you are
connecting to.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-05-22