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: <4CED2222 DOT 20800 AT gmx DOT de> Date: Wed, 24 Nov 2010 09:47:22 -0500 Message-ID: Subject: Re: scp just spews usage From: Benjamin Anderson To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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