2
I have 2 hosts that I can connect them through SSH. In one host, after a while, I get the error Write Failed: broken pipe.
In the other host, I don't get this error.
I don't understand why in one host, I get this problem, and in another host everything is ok.
So, I have set a SSH connection with tmux, and inside the remote host I run a foreground process (celeryd). But, even when the SSH session fails, and I reconnect to the dropped session, the foreground process has died.
I would like that the foreground process won't come down when the SSH connection is broken. So, I just have 2 solutions:
- know how to avoid SSH broken pipes, or
- know how to avoid that the process will die when the SSH connection goes down.
Can anyone help me on this?