Broken pipe Index Page 1
OSX MAC Solution to SSH Broken Pipe
In this article, we explain how to avoid the "Broken Pipe" error. You will need to edit you sh config file /etc/ssh/ssh_config or ~/.ssh/config and set the ServerAliveInterval to 120 and TCPKeepAlive to no for all hosts. Check here for the complete information.