> x...@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
