cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl using SSH issues

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 11 Oct 2007 15:04:52 -0700

On Thu, Oct 11, 2007 at 04:07:43PM -0400, Abu-Rashid, Ebrahim wrote:
> The command line used is below:
>
> curl -sS -n -m 7 --disable-epsv --user userXXX:123456 --key /export/home/user/.ssh/sftpkey sftp://10.20.30.40:12345 -T test_me --trace trace
>

You need a --pubkey option if you're using --key. Although, the log message
you provided said Authentication successful, didn't it? Try this anyway,
and try password authentication if that doesn't work. Note also that the
password given to the --user option is ignored if you specify a private
key.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-10-12