scp and ssh 'cat' stalls at 64k bytes

Kevin Schnitzius kometes@yahoo.com
Sat Jun 24 07:12:28 GMT 2023


 On Friday, June 23, 2023 at 10:00:02 PM EDT, Chris Roehrig via Cygwin <cygwin@cygwin.com> wrote: 

> 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 this first:
/usr/bin/dd if=/dev/zero bs=1 count=65536 | /usr/bin/ssh localhost '/usr/bin/cat > /dev/null'

Also, I assume you are running Cygwin's bash in a mintty term...

Kevin


More information about the Cygwin mailing list