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: libcurl configuration for sftp

From: Dan Fandrich via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 13 Oct 2020 22:35:32 -0700

On Tue, Oct 13, 2020 at 06:42:50PM -0500, Michael Loutris via curl-library wrote:
> I am trying to securely transfer a file between two windows 10 devices, and I
> get error 67, "CURLE_LOGIN_DENIED" when calling curl_easy_perform(). All of
> the curl_easy_setopt() calls return success.
>
> The server has been configured as an SSH server using OpenSSH for Windows 10
> and using OpenSSH commands from a Windows command prompt are successful in
> transferring files.

When you use these commands, does the logging show that authentication is
performed with username+password, or is it being done with a key? Is the key
encrypted on disk?

Dan
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-10-14