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 11:43:58 +0100

> Am Mi., 9. Jan. 2019, 07:02 hat Jan Stary <hans_at_stare.cz> geschrieben:
> > Your --key is not a --cert

On Jan 09 09:50:17, juergen_at_jwi.de wrote:
> But how can I have curl login with an ssh key to a sftp server?

Hint: --key

> > > 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
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-01-09