scp and ssh 'cat' stalls at 64k bytes

Chris Roehrig croehrig@house.org
Sat Jun 24 01:59:04 GMT 2023



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.


More information about the Cygwin mailing list