Pairing with a Shared Account
Using a shared account is the quickest way to work with another user. In a nutshell, you enable SSH access on the machine that will act as the host, install and configure tmux on that machine, and create a tmux session there. The second user logs into that machine with the same user account and attaches to the session. By using SSH public keys, you can make the login process somewhat transparent. Let’s walk through the setup. For this example, you’ll use a server called puzzles running Ubuntu that has the SSH daemon installed.
First, log in to the server with an account that has the ability to create additional accounts.
Once logged in, create a tmux user on the server. This is the user account everyone will ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access