What does the Broken pipe message mean in an SSH session?
Networking, Server, and Protection » SSH Timeout – Write failed: Broken pipe?
How to prevent “Write Failed: broken pipe” on SSH connection?
SSH Write failed: Broken pipe
ClientAliveInterval 30 ClientAliveCountMax 3
or
ServerAliveInterval 120