There is a jenkins job that runs for more than an hour which deploys code on the target server. In this job it is getting stuck after 20 minutes and after 2 hours it is giving error as :
packet_write_wait: Broken pipe.
On the target server the value of /etc/ssh/sshd_config file values are set to :
ClientAliveInterval 300
ClientAliveCountMax 720
MaxSessions 50
Not getting the root cause of the issue or how should i troubleshoot it.
Source: Read More