curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: upload-file with cert

From: Jan Stary <hans_at_stare.cz>
Date: Wed, 9 Jan 2019 06:55:30 +0100

Your --key is not a --cert

On Jan 09 00:16:10, juergen_at_jwi.de wrote:
> Hello,
>
> what's the curl equivalent of
>
> sftp -i .ssh/my.id_rsa user_at_host:/home/user/public_html/
>
> I tried
>
> curl -k --cert .ssh/my.id_rsa --upload-file my.zip
> sftp://user@host:/home/user/public_html/
>
> but this gives
>
> curl: (67) Authentication failure
>
> Greetings,
> Jürgen
>
> -----------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
> Etiquette: https://curl.haxx.se/mail/etiquette.html
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-01-09