Re: How to do sftp without an SSH agent

2013-04-16 Thread Nick Zitzmann
On Apr 16, 2013, at 2:05 PM, ols6...@sbcglobal.net 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:fuzzypick...@example.org/ Or use the options CURLOPT_USERNAME and CUR

Re: How to do sftp without an SSH agent

2013-04-16 Thread ols6000
At 01:57 PM 4/11/2013, you wrote: You don't need to use the option CURLSSH_AUTH_AGENT if you don't want to use it. It's just there to make it easier for users with a pre-generated DSA/RSA key pair to log into an SSH server. If you set it to CURLSSH_AUTH_ANY, then libcurl will pick one, and your

Re: How to do sftp without an SSH agent

2013-04-11 Thread Nick Zitzmann
On Apr 11, 2013, at 11:29 AM, ols6...@sbcglobal.net wrote: > When I followed the example in sftpget.c, I discovered that to do sftp > requires an SSH agent (e g, pageant). For various reasons, I need to make my > application self-contained. So I am asking for advice from you libcurl gurus > on