Uniquely Identifying the Local TTY of an SSH Connection

Philipp Marek philipp at marek.priv.at
Thu Mar 2 00:42:01 AEDT 2023

 > if their connection drops and they will immediately be dropped back into their old session with all the context like they left it.

Perhaps mosh fits your bill?

Other than that, would it work to just build up the right command (tmux with args) locally in a shell script thats stored in /usr/local/bin/ssh?

More information about the openssh-unix-dev mailing list