Displaying 1 result from an estimated 1 matches for "sshtn".
Did you mean:
sshto
2014 Dec 15
0
[OT} Odd tmux behaviour on exit
...f I kill 13015 (pts/1) from the direct ssh connection then I return control
of the tmux session back to the terminal and I remain logged on to the remote
host. If I then exit the remote host I return to the original host as
expected.
Tmux is called from the original session using a function named sshtn as
defined below:
# declare -f
sshta ()
{
ssh "$*" -t -Y 'tmux a || tmux || /bin/bash'
}
sshtn ()
{
ssh "$*" -t -Y 'tmux || /bin/bash'
}
Anyone have any ideas on what might be causing this; and is there any way of
preventing it? In this instance I had...