This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ssh public key authentication problem using curl
Greetings, carolus!
>> 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.
Many tools take your $USER as login name to remote host by default.
Which is a rather wild guess, in general, but often works... locally.
--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 10.11.2011, <05:06>
Sorry for my terrible english...
--
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