delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/13/11:56:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <464220.48197.qm@web25501.mail.ukl.yahoo.com>
Date: Wed, 13 Oct 2010 16:56:32 +0100 (BST)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: R: scp fails without a warning.
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
In-Reply-To: <45833C44DA56B948A31517B07F7CCEC112B45EDB4D@VAFF06-MABPRD01.ad.gd-ais.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

--- Mer 13/10/10, Wiles, Dale L. (NE)  ha scritto:

> I updated cygwin yesterday (10/12/10)
> and rebooted my Windows XP (SP3) box.=A0 Now, when I use
> scp from a Red Hat 5.5 box to my Windows box, scp quietly
> fails.

if you can not obtain at least
$ scp --version
scp: unknown option -- -
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

then you lack one of the needed dll's
try
$ cygcheck scp
Found: C:\cygwin2\bin\scp.exe
C:\cygwin2\bin\scp.exe
  C:\cygwin2\bin\cygwin1.dll
    C:\WINDOWS\system32\ADVAPI32.DLL
      C:\WINDOWS\system32\KERNEL32.dll
        C:\WINDOWS\system32\ntdll.dll
      C:\WINDOWS\system32\RPCRT4.dll
        C:\WINDOWS\system32\Secur32.dll
  C:\cygwin2\bin\cyggcc_s-1.dll
  C:\cygwin2\bin\cygssp-0.dll

to identify the missing one


>=20
> If I run (from Red Hat) "scp uname AT windowsbox:file .", I'm
> prompted for my password.=A0 I type it in and then, a
> moment later, scp exits.=A0 No data gets transferred and
> there is no error messages.=A0 If I type in a garbage
> file name, I get the same results.=A0 There is no error
> message.
>=20
> If I run "sftp uname AT windowsbox:file ." I'm prompted for my
> password and the file transfers normally.=A0
> Unfortunately I need a recursive copy.
>=20
> I can also ssh into my windows box with no problem.
>=20
> /var/log/sshd.log exists, but is empty.
>=20
> --=20
> Dale Wiles
>=20




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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019