cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Can't connect to a SFTP site using private key

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Thu, 19 Apr 2012 15:26:47 +0200

On Thursday 19 April 2012 14:47:27 Jochen Roderburg wrote:
> Zitat von Ralph Mitchell <ralphmitchell_at_gmail.com>:
> > You need both keys. The public key should be on the remote host. I
> > just tried it from one Linux system to another, and it only works for
> > a given private key when the matching public key is in the
> > $HOME/.ssh/authorized_keys file.
>
> Exactly. So the question remains: why does curl/sftp want to read a
> *local* public key file?
> I tried it also on Linux systems and got the same error as the OP.
> And ssh/sftp works fine in the same situation.

I also hit this oddity, but was not enough motivated to search the answer.

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-19