On 9/15/18, Dimitris Papastamos <[email protected]> wrote:
[snip]
> Maybe worth lowering ServerAliveInterval in ssh_config and see if that
> helps.

ServerAliveInterval also needs to be set to non-zero because the
default of zero is to not send the messages.

Also in the event of a disconnection anyway, you can use while loop if
you have your key in the ssh-agent.

while ! ssh -t foobar.example.org 'tmux a || tmux'; sleep 1; done;

/Lars

Reply via email to