What can I do to configure SSH on both client and servers to prevent Write Failed: broken pipe errors, which ofter occurs if you sleep your client computer and resume later.
|
|
|||
|
I have tried this in
This is how often, in seconds, it should send a keepalive message to the server. If that doesn't work then train a monkey to press enter every two minutes while you work. |
||||
|
I'm remotely upgrading an Ubuntu server from lucid to precise and lost the ssh connection in the middle of the upgrade with the message "Write failed. Brocken pipe". ClientAliveInterval and ServerAliveInterval did nothing. The solution is to turn on TCPKeepAlive options in client ssh:
in
|
||||
|
|
|
SSH sessions may break due to numerous and possibly unavoidable reasons. A useful utility which can be used to mitigate problems caused by this is called |
|||
|
|
screen? – Sorin Sbarnea Apr 30 '12 at 7:11