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: Curl sftp fails with ssh-userauth service error

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Sat, 27 Jul 2024 14:50:34 +0200 (CEST)

On Wed, 24 Jul 2024, Bharath Seshagiri (EXT-Nokia) via curl-library wrote:

> When I tried to do sftp it works fine. Even ssh also works fine. Sftp
> through curl command it fails.

I propose the following next steps in debugging this:

1 - try the latest libssh2 version

2 - if the issue remains, try using a libssh2 example (that does not involve
    curl) and see if you can do SFTP using those.

3 - if in (2) that also fails, then we know the problem is with libssh2. If
    step (2) succeeds, we know the problem is in libcurl and we have a much
    better idea of next steps to debug

-- 
  / 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-07-27