X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: "Brian Wilson" <wilson@ds.net>
To: cygwin@cygwin.com
Subject: Re: scp just spews usage
Date: Sat, 27 Nov 2010 09:28:29 -0500
Message-Id: <20101127142829.M83969@ds.net>
In-Reply-To: <20101124193052.GB10871@onderneming10.xs4all.nl>
References: <AANLkTim7ehatf+MMv+72znffiY1-DGPb-81qegDYUWQ6@mail.gmail.com> <20101124193052.GB10871@onderneming10.xs4all.nl>
X-OriginatingIP: 65.12.174.114 (wilson)
MIME-Version: 1.0
Content-Type: text/plain;	charset=iso-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> > 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@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).
> >
> I noticed that when I upgraded and didn't mind the messages from the
> setup-program saying that cygwin1.dll was in use and couldn't be
> updated.
> 
> Try updating again and/or reinstalling ssh and be careful of the
> messages.

I had a similar issue.  It seems that some updates do not complete successfully under the circumstances you describe.  I 
suspect there is an issue with shells failing to run successfully as I often have to try several times before I can get 
Cygwin to open a bash shell successfully.  Others require a reboot (and you need to watch the messages for this 
information).

I found I could fix most problems by booting to safe with networking mode and reinstalling the packages that weren't 
working.  This restored my applications.  I hope this works for you as well.  I do the safe mode to prevent any problems 
with deamons or other applications running in the background.

Sincerely,

Brian S. Wilson

--
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

