This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

R: scp fails without a warning.


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

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


> 
> 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.
> 
> -- 
> Dale Wiles
> 




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]