Skip to content

Instantly share code, notes, and snippets.

@pbaylis
Last active May 16, 2019 15:35
Show Gist options
  • Save pbaylis/a76402ef47a6f042445587130fd0401d to your computer and use it in GitHub Desktop.
Save pbaylis/a76402ef47a6f042445587130fd0401d to your computer and use it in GitHub Desktop.
Use tmux to run commands through ssh (that won't close when you log out)
## Logging into server
ssh <server-address>
# Login
tmux
# CTRL-b d to detach tmux
exit
## When returning to server
tmux attach
@pbaylis
Copy link
Author

pbaylis commented May 16, 2019

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