X-Recipient: archive-cygwin AT delorie DOT 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" To: cygwin AT cygwin DOT 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: <20101124193052 DOT GB10871 AT onderneming10 DOT xs4all DOT 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 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 > > 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). > > > 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