curl / Mailing Lists / curl-users / Single Mail

curl-users

upload-file with cert

From: Jürgen Weber <juergen_at_jwi.de>
Date: Wed, 9 Jan 2019 00:16:10 +0100

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
Received on 2019-01-09