Greetings, Chris Roehrig!

> On 2023-06-23 18:26, Dan Harkless via Cygwin wrote:
>> On 6/23/2023 5:19 PM, Chris Roehrig via Cygwin wrote:
>>> No worries; I imagine most people don't run sshd on cygwin.
>>
>> Hmm, I'd generally think the opposite, at least for users coming from > more 
>> UNIXey / Linuxey backgrounds.
>>
>>> It looks to
>>> me like the issue involves i/o between sshd and its sub-processes on >> 
>>> cygwin.
>>>
>>> Is anyone else able to successfully scp large files (>64KB) to cygwin as
>>> the remote receiving end (with the latest cygwin)?
>>
>> Yes, with all Cygwin64 updates, I was able to scp a file of a few MB > from 
>> Linux to Windows 10 with no issues.  I also tried your 'cat' > version, and 
>> that worked fine too.
>>
>> -- > Dan Harkless
>> http://harkless.org/dan/
>>
>>

> Thanks.  There must be some issue with my setup.   Very odd that 'pv'
> works, but 'cat' does not.  ldd shows they use identical libs.   I guess
> I'll start with the pv and cat source.

Try
rebase-trigger full
and run setup afterwars.
Try running cygcheck against installed packages (or just install a new copy of
Cygwin into a separate directory) to exclude possible locked files in update.

$ dd if=/dev/zero bs=65537 count=1 | ssh localhost -- cat > /dev/null
The authenticity of host 'localhost (::1)' can't be established.
ED25519 key fingerprint is SHA256:rK/5qL4K+LBmYS2LfQQH1dT4fmB7+Oi7YlWLTDJvPRU.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
1+0 records in
1+0 records out
65537 bytes (66 kB, 64 KiB) copied, 7.67032 s, 8.5 kB/s

$ dd if=/dev/zero bs=64k count=1M | ssh localhost -- cat > /dev/null
1048576+0 records in
1048576+0 records out
68719476736 bytes (69 GB, 64 GiB) copied, 670.787 s, 102 MB/s


-- 
With best regards,
Andrey Repin
Wednesday, July 5, 2023 22:17:23

Sorry for my terrible english...

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

Reply via email to