Hi!

I am out of ideas and don’t know where to look anymore, so any tips are 
appreciated. 

Trying to understand what is happening here: I have compiled curl statically 
with sftp support and it works when I am using password. But trying with 
publickey does not work. 

I get the following error:

* Using SSH public key file '/Users/janne/.ssh/id_rsa.pub'
* Using SSH private key file '/Users/janne/.ssh/id_rsa'
* SSH public key authentication failed: Callback returned error
* No identity would match

(I use the same key to ssh into the server so I know it really works.)
 
- Is this a known curl problem? Have I messed out some settings while 
compiling? But as mentioned before, password-logins do work for me.

- Is macOS creating keys in a different format (used standard ssh-keygen) that 
libssh2 cannot read?

This is my settings:

./configure --disable-shared --enable-threaded-resolver --enable-static 
--with-libssh2=/Users/janne/Documents/cURL/libssh2-1.8.0 --disable-dict 
--disable-telnet --disable-pop3 --disable-rtsp --disable-imap --disable-smtp 
--disable-gopher --disable-ldap --without-zlib --without-libidn2 
--disable-libcurl-option --prefix=/Users/janne/Documents/cURL/curl-7.62.0

Thanks in advance!

/ Jan
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to