delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <4CED2222.20800@gmx.de> |
References: | <AANLkTim7ehatf+MMv+72znffiY1-DGPb-81qegDYUWQ6 AT mail DOT gmail DOT com> <4CED2222 DOT 20800 AT gmx DOT de> |
Date: | Wed, 24 Nov 2010 09:47:22 -0500 |
Message-ID: | <AANLkTim2ugKYh2n8HQZ2J6tK=L9Anp5+YiEFbJ42duDt@mail.gmail.com> |
Subject: | Re: scp just spews usage |
From: | Benjamin Anderson <benanderson DOT us AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
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 |
I'm pretty sure I've got the command right (it was working before my last upgrade) /cygdrive/c/dev/java/apache-solr-1.4.0 $ type scp scp is hashed (/usr/bin/scp) /cygdrive/c/dev/java/apache-solr-1.4.0 $ scp build.xml 128.151.244.170: usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2 On Wed, Nov 24, 2010 at 9:33 AM, Matthias Andree <matthias DOT andree AT gmx DOT de> w= rote: > Am 24.11.2010 15:26, schrieb Benjamin Anderson: >> Hi, >> I've been using ssh with cygwin for years w/ no issues. =A0After my last >> upgrade, I am not able to use scp (ssh still works). >> >> $ scp myfile myusername AT myserver:~ >> usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] >> =A0 =A0 =A0 =A0 =A0 =A0[-l limit] [-o ssh_option] [-P port] [-S program] >> =A0 =A0 =A0 =A0 =A0 =A0[[user@]host1:]file1 ... [[user@]host2:]file2 >> >> This same command has worked for me for long time. =A0Any ideas what's >> happening now? =A0(I have tried rebooting since the upgrade). > > Does it work without trailing tilde (~)? =A0SCP/SSH will put you into the= home > directory by default anyways, so it's not strictly required. > > Are there blanks in any of the names? Then remember to quote the command > properly from the shell. > > Is scp an alias? =A0Find out with "type alias" when using bash. > > -- > Matthias Andree > > -- > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple > > -- 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 |