Using Secure Shell in Chrome, can you automatically attach to a tmux session when SSH-ing to a server? If so, how do you do that?
1 Answer
In the .bashrc
file you should be able to call tmux attach
on the server. A line like this is the last line of my `.bashrc' file and it works fine.
This of course requires that a session exists on the server at the point when you secure shell into it and that you are using bash
.