cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Private key authentication problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 14 Apr 2009 13:08:21 +0200 (CEST)

On Mon, 13 Apr 2009, Tim Kloos wrote:

> Unfortunately, this is not working for me. I tried using this command
> specifically:
>
> curl -T hi -u user: --key ~/.ssh/id_rsa --pubkey ~/.ssh/id_rsa.pub
> --limit-rate 1M sftp://host/home/user/hi.txt
>
> As you can see, I don't include the "\" and I use rsa instead of dsa - maybe
> that's what problematic.

> Any ideas?

This feature relies heavily on features provided by the libssh2 library and
I'm not immediately aware on how much this that should already work or not.
Please consider trying libssh2 directly using one of the sample libssh2 tools
or similar to start the debugging adventures on this.

Is your libssh2 build with OpenSSL or libgcrypt? What libssh2 version? On what
platform?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-04-14