delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=3.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 10 Nov 2011 05:08:15 +0400 |
From: | Andrey Repin <anrdaemon AT freemail DOT ru> |
Reply-To: | Andrey Repin <cygwin AT cygwin DOT com> |
Message-ID: | <1007387322.20111110050815@mtu-net.ru> |
To: | carolus <worwor AT bellsouth DOT net>, cygwin AT cygwin DOT com |
Subject: | Re: ssh public key authentication problem using curl |
In-Reply-To: | <j91mvi$6rt$1@dough.gmane.org> |
References: | <j8pkhb$b5e$1 AT dough DOT gmane DOT org> <245272265 DOT 20111103195132 AT mtu-net DOT ru> <j8v9en$qes$1 AT dough DOT gmane DOT org> <1969561912 DOT 20111104233318 AT mtu-net DOT ru> <j91mvi$6rt$1 AT dough DOT gmane DOT org> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 AT 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 AT freemail DOT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |