On Apr 16, 2013, at 2:05 PM, [email protected] wrote: > I have set CURLSSH_AUTH_ANY, but now how do I get the password SSH apparently > requires?
Either put the user name and password into the URL, like this: sftp://bob:[email protected]/ Or use the options CURLOPT_USERNAME and CURLOPT_PASSWORD to do SSH password authentication. To do SSH public key authentication, put the private key passphrase into CURLOPT_KEYPASSWD. Nick Zitzmann <http://www.chronosnet.com/> ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
