Re: cygwin scp -r fails



I'm also having this problem with the latest scp on Cygwin: scripts
which were working find are now failing to copy files within
subdirectories for -r. I'd say its a nice, hard failure... Anything I
can contribute to the resolution?

les at ivsds dot com


Darren Dunham wrote:
gregt@xxxxxxx wrote:
Hi.

I just installed the latest cygwin on my winXP laptop, and I am having

I just upgraded mine.
$ ssh -V
OpenSSH_4.3p1, OpenSSL 0.9.8a 11 Oct 2005


------ debug info -----
[snip]

Entering directory: D0770 0 windows
debug2: channel 0: read<=0 rfd 4 len 0
debug2: channel 0: read failed

That part seems odd..

I wonder if you can run it under strace and see what's happening when it
goes into the directory.

On my machine between the "Entering directory" and the "read<=0" I
actually copy the file... Mine is just "file" under "dir".

[snip...]
Entering directory: D0755 0 dir
debug2: channel 0: rcvd ext data 18
Sink: D0755 0 dir
debug2: channel 0: written 18 to efd 6
Sending file modes: C0644 0 file
debug2: channel 0: rcvd ext data 19
Sink: C0644 0 file
debug2: channel 0: written 19 to efd 6
file 100% 0 0.0KB/s 00:00
debug2: channel 0: rcvd ext data 8
Sink: E
debug2: channel 0: written 8 to efd 6
debug2: channel 0: read<=0 rfd 4 len 0
[snip]

--
Darren Dunham ddunham@xxxxxxxx
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >

.



Relevant Pages

  • Re: Problem with tunneling vnc through ssh (via a gateway)
    ... debug1: Connecting to localhost port 1234. ... debug2: fd 4 setting O_NONBLOCK ... debug2: channel 2: request exec ... debug2: channel 2: rcvd ext data 85 ...
    (comp.security.ssh)
  • Re: run program via ssh
    ... debug2: channel 0: rcvd ext data 45 ... tput: No value for $TERM and no -T specified ...
    (alt.os.linux.suse)
  • Re: scp problem
    ... debug1: Authentication succeeded. ... debug2: fd 4 setting O_NONBLOCK ... debug2: channel 0: request exec ... debug2: channel 0: rcvd ext data 262 ...
    (uk.comp.sys.mac)
  • Running ssh cmd on cron -- debug2: channel 0: read failed
    ... debug2: channel 0: send open ... debug1: Entering interactive session. ... debug2: channel 0: request exec confirm 0 ... debug2: channel 0: rcvd eof ...
    (SSH)
  • Re: cygwin scp -r fails
    ... debug2: channel 0: rcvd ext data 18 ... Sink: C0644 0 file ...
    (comp.security.ssh)