Hi,
Same problem here. It happens to me when I try to copy a big file with rsync or scp.
After a few seconds, boom, broken pipe.
Normal ssh use, interactive, just works as expected.
I tried all these things and none solved the problem:
IPQoS=throughput
ServerAliveInterval 30
ServerAliveCountMax 5
TCPKeepAlive yes
Looking forward for a solution...
Client and Server: OpenSSH_7.9p1 Debian-10+deb10u2
Server configuration /etc/ssh/sshd_config:
PermitRootLogin yes
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
AllowUsers rover pepe
Client configuration:
Host *
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
Regards,
--
Roberto Lumbreras
Debian developer