Skip to content

Instantly share code, notes, and snippets.

@bunchc
Created September 24, 2020 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bunchc/b1adb7dd0ecdd895a1bba5d12e3922b7 to your computer and use it in GitHub Desktop.
Save bunchc/b1adb7dd0ecdd895a1bba5d12e3922b7 to your computer and use it in GitHub Desktop.
Start tmux on ssh connect
Host dethkopter
Hostname dethkopter.mordhaus
User toki.wartooth
Port 22
RequestTTY yes
RemoteCommand "tmux new-session -s metalocalypse || tmux attach-session -t metalocalypse"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment