ssh: broken pipe, write failed
It is driving me nuts ... using iMac, OS LION 10.7.3 and ssh (from Terminal, iTerm2 or SecureCRT).
When connecting to a remote host with "ssh user@remotehost" the connection is terminated after exactly 9000 seconds.
Always with the same message: Broken Pipe, Write failed.
And it doesn't matter if I am editing a file remotely, ping start a while loop etc: the session is terminated.
Recently I started two windows: one with my 'work' window, one with a 'while loop' to count the seconds until failure.
I searched the net and a number of forums and used a variety of options in /etc/ssh_config, currently set at:
ServerAliveInterval 20
ServerAliveCountMax 3
But to no avail.
Also "ssh -o TCPKeepAlive=no -o ServerAliveInterval=15" doesn't work.
The behaviour is consistent: I am using ssh to at least 5 different sites: all break after 9000 seconds.
Is there anyone ot ther who can provide a solution for this ?
Thanks a lot !
NB: this iMac was originally a Leopard, then a Snow Leopard and now a Lion and recently upgraded by Apple with a 500GB SSD Drive.
iMac, Mac OS X (10.7.3)