public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* scp and ssh 'cat' stalls at 64k bytes
@ 2023-06-23  6:26 Chris Roehrig
  2023-06-23 15:28 ` Brian Inglis
  0 siblings, 1 reply; 14+ messages in thread
From: Chris Roehrig @ 2023-06-23  6:26 UTC (permalink / raw)
  To: cygwin

I've upgraded cygwin recently (from a much older version) and am 
encountering a new problem on all my Win10/WIn11 machines.

With openssh and pv installed on cygwin (3.4.7-1):

dd if=/dev/zero bs=1 count=65536 | ssh localhost 'cat > /dev/null'    # 
works
dd if=/dev/zero bs=1 count=65537 | ssh localhost 'cat > /dev/null'    # 
stalls (and anything larger)
dd if=/dev/zero bs=1 count=65537 | ssh localhost 'pv > /dev/null'    # 
replace 'cat' with 'pv' and it works

This happens with or without Windows Firewall enabled, with any input > 
64k, and also remotely from Linux.
It also seems to affect scp to cygwin which stalls if the file is >= 64k



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-11-06 17:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-23  6:26 scp and ssh 'cat' stalls at 64k bytes Chris Roehrig
2023-06-23 15:28 ` Brian Inglis
2023-06-23 19:41   ` Chris Roehrig
2023-06-23 23:07     ` Voris, Ben
     [not found]       ` <bced83bb-58c5-f2a8-bc03-578d6d9fd749@house.org>
     [not found]         ` <MW4PR84MB1684E6210C73D34ED2223319FE23A@MW4PR84MB1684.NAMPRD84.PROD.OUTLOOK.COM>
2023-06-24  0:19           ` Chris Roehrig
2023-06-24  1:26             ` Dan Harkless
2023-06-24  1:59               ` Chris Roehrig
2023-06-24  2:19                 ` Dan Harkless
2023-06-24  5:35                   ` Brian Inglis
2023-06-24  6:16                     ` Dan Harkless
2023-06-24  7:47                     ` Chris Roehrig
2023-06-24  7:12                 ` Kevin Schnitzius
2023-06-24  8:45                   ` Chris Roehrig
2023-07-05 19:20                 ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).