scp doesn't copy - neither returns an error message

Thomas Wiedmann th.wm@gmx.de
Fri Mar 16 14:55:00 GMT 2007


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



More information about the Cygwin mailing list