Last active
May 16, 2019 15:35
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Logging into server | |
ssh <server-address> | |
# Login | |
tmux | |
# CTRL-b d to detach tmux | |
exit | |
## When returning to server | |
tmux attach |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: https://hackernoon.com/a-gentle-introduction-to-tmux-8d784c404340