curl-library
Re: Reflection for Secure IT Server
From: Dirk Manske <dm_at_nonitor.de>
Date: Mon, 3 May 2010 11:47:01 +0200
Date: Mon, 3 May 2010 11:47:01 +0200
> xu_at_durian(pts/1):~/opensrc/curl-7.20.1/src[227]$ ./curl -v -u <user>:<pass>
> -T testSmall.pdf sftp://13.121.8.133/Home/Scans/testSmall.pdf
...
> * SSL peer certificate or SSH remote key was not OK
>
> curl: (51) SSL peer certificate or SSH remote key was not OK
Have you tried the -k (--insecure) option?
Also you don't need to add the file name to the URL (unless you what
to save it with a different name), so try:
curl -v -u <user>:<pass> -k -T testSmall.pdf sftp://13.121.8.133/Home/Scans/
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-03