delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4CED2222.20800@gmx.de> |
Date: | Wed, 24 Nov 2010 15:33:06 +0100 |
From: | Matthias Andree <matthias DOT andree AT gmx DOT de> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: scp just spews usage |
References: | <AANLkTim7ehatf+MMv+72znffiY1-DGPb-81qegDYUWQ6 AT mail DOT gmail DOT com> |
In-Reply-To: | <AANLkTim7ehatf+MMv+72znffiY1-DGPb-81qegDYUWQ6@mail.gmail.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Am 24.11.2010 15:26, schrieb Benjamin Anderson: > Hi, > I've been using ssh with cygwin for years w/ no issues. After 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] > [-l limit] [-o ssh_option] [-P port] [-S program] > [[user@]host1:]file1 ... [[user@]host2:]file2 > > This same command has worked for me for long time. Any ideas what's > happening now? (I have tried rebooting since the upgrade). Does it work without trailing tilde (~)? SCP/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? Find out with "type alias" when using bash. -- Matthias Andree -- 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 |