X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: SZABO Gergely Subject: Re: scp fails without a warning. Date: Wed, 13 Oct 2010 16:29:08 +0000 (UTC) Lines: 36 Message-ID: References: <45833C44DA56B948A31517B07F7CCEC112B45EDB4D AT VAFF06-MABPRD01 DOT ad DOT gd-ais DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Wiles, Dale L. (NE gd-ais.com> writes: > > I updated cygwin yesterday (10/12/10) and rebooted my Windows XP (SP3) box. Now, when I use scp from a Red Hat > 5.5 box to my Windows box, scp quietly fails. > > If I run (from Red Hat) "scp uname windowsbox:file .", I'm prompted for my password. I type it in and then, a > moment later, scp exits. No data gets transferred and there is no error messages. If I type in a garbage file > name, I get the same results. There is no error message. > > If I run "sftp uname windowsbox:file ." I'm prompted for my password and the file transfers normally. > Unfortunately I need a recursive copy. > > I can also ssh into my windows box with no problem. > > /var/log/sshd.log exists, but is empty. > At least, could you check scp's exit code? $ scp .... $ echo $? If it's nonzero, you could produce the error message yourself: $ scp ... || echo "scp failed" Not that it fixes scp... :-( Does MidnightCommander's Shell-link panel fail too? Best regards Gergely -- 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