curl-users
sftp Command Line help
From: Michael Lam <Michael.Lam_at_silkroad.com>
Date: Fri, 15 Apr 2011 17:28:09 -0400
Date: Fri, 15 Apr 2011 17:28:09 -0400
I am trying to ftp a file via sftp protocol to a client:
curl -u username --key C:\cygwin\home\XJ0002T\.ssh\id_rsa --pubkey c:\cygwin\home\XJ0002T\.ssh\id_rsa.pub -
T c:\temp2\test4.txt sftp://server/SFTP/ --insecure
Enter host password for user 'XJ0002T':
Curl keeps asking me for a password. I have tried key pairs using OpenSSH and puttyGen, neither worked. Can someone tell me what I am doing wrong?
Thanks,
Mike Lam
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-15