delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/16/09:55:48

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Thomas Wiedmann" <th DOT wm AT gmx DOT de>
Subject: scp doesn't copy - neither returns an error message
Date: Fri, 16 Mar 2007 12:29:06 +0100
Lines: 50
Message-ID: <etdv0j$fii$1@sea.gmane.org>
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-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

Hello,

when I tried to copy a file from a remote PC, where Suse Linux is installed, 
to my local PC, where Windows XP prof. is installed (and there ssh and scp 
on the directory C:\Programme\OpenSSH\bin\), according to the pattern
scp user AT ip:/dir/test.txt D:\test.txt ("user", "ip" and "dir" are values, 
changed for this newsgroup ...),

the file test.txt was not copied, but neither any error message was 
returned.


If I call the statement with the verbose option -vvv:
scp -vvv user AT ip:/dir/test.txt D:\test.txt

additionally I get the message
Executing: /usr/bin/ssh -v -x -o'ClearAllForwardings yes' -n -l user ip 
scp -v /dir/test/test.txt 'D:\test.txt'

without copying the file test.txt.


In the log file C:\Programme\OpenSSH\var\log\OpenSSHd.log
there is for every attempt an entry
18501265 [main] sshd 580 fork_copy: linked dll data/bss pass 0 failed,
0x3DB000..0x3DC200, done 0, windows pid 2892, Win32 error 487

1) What could be the reason for this behaviour and how can this problem 
beresolved, so that the scp command works ?
2) Which prerequisites must be met, that copying with scp works?


Remarks:

The remote Linux PC was accessible by the Ip address, used and the user 
entry was ok, too.
ssh also works without problems.

I know, that there is also the tool WinSCP for these purposes - regularly I 
use that.
But WinSCP fails, when a directory contains too many files (thousands ...).
By the way: In the directory, used for the statement, mentioned above, the 
directory only contains a few files.


Thanks for all good hints.


Thomas Wiedmann 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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