Skip to content

Instantly share code, notes, and snippets.

@cmbaughman
Created March 25, 2026 15:57
Show Gist options
  • Select an option

  • Save cmbaughman/9a3fecaf863acda7945809b5c2cb35d9 to your computer and use it in GitHub Desktop.

Select an option

Save cmbaughman/9a3fecaf863acda7945809b5c2cb35d9 to your computer and use it in GitHub Desktop.
Linux Share Terminal

A Quick Tip for SSH Sessions:

You and another user can actually share a single terminal session! This is incredibly helpful for pair programming or troubleshooting, or whatever.

Here's how you do it:

  1. You both have to be logged in via SSH.
  2. One user starts a session tmux new -s pair
  3. The other attaches to it tmux attach -t pair

Everything you type, they see instantly in the same shell!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment