scp just spews usage
Wed Nov 24 16:23:00 GMT 2010
I'm pretty sure I've got the command right (it was working before my
$ type scp
scp is hashed (/usr/bin/scp)
$ scp build.xml 184.108.40.206:
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 <firstname.lastname@example.org> wrote:
> Am 24.11.2010 15:26, schrieb Benjamin Anderson:
>> 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@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
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin