-
-
Save dksifoua/467d9be6fc04e85a6a6bc8fea3eb1b12 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
After we ssh to the remote machine, we have to make sure to work inside a tmux session. | |
This will ensure that our session will be kept alive even even if we loose our connection. | |
$ sudo apt-get install tmux | |
$ tmux new -s my_awesome_session | |
# you live here | |
$ tmux detach | |
$ tmux attach -t my_awesome_session | |
# you come back here tomorrow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment