Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .