ssh public key authentication problem using curl

carolus worwor@bellsouth.net
Fri Nov 4 21:55:00 GMT 2011


On 11/4/2011 2:33 PM, Andrey Repin wrote:

> You didn't supplied a username to the remote host at all.
> Quite predictable, you got a name mismatch...

Thanks.  That was the clue.  The following all work, connecting to my 
cygwin home directory on the server:

ssh dell03
sftp dell03
lftp sftp://dell03

but curl requires a more explicit syntax: curl sftp://cdr@dell03

I had tried curl -u cdr, but that asks for a password.  Since I want to 
use curl in a script, I did not want to have to enter a password.
I did not think of trying a different syntax until reading your suggestion.





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list