- Joined
- Jun 15, 2019
- Posts
- 210
- Reaction score
- 55
Lots of questions on this, how do you keep an SSH session running in the background even if you shutdown your PC / Device...
Pretty easy, lots of methods, heres one :
1. Login to an SSH shell as normal
2. yum instal tmux or apt-get tmux (only need to do this once)
3. run tmux
4. run the dropcatch software, ie, php run.php
5. type tmax detach or CTRL B then D
6. you can now shut down / exit the shell
7. To rejoin, run the SSH, type tmux attach
If your running the software with 4 shells, then use tmax to open all 4 and run all 4 in the background, theres a good help file for this online at :
https://www.tecmint.com/tmux-to-access-multiple-linux-terminals-inside-a-single-console/
Cheers
Bill
Pretty easy, lots of methods, heres one :
1. Login to an SSH shell as normal
2. yum instal tmux or apt-get tmux (only need to do this once)
3. run tmux
4. run the dropcatch software, ie, php run.php
5. type tmax detach or CTRL B then D
6. you can now shut down / exit the shell
7. To rejoin, run the SSH, type tmux attach
If your running the software with 4 shells, then use tmax to open all 4 and run all 4 in the background, theres a good help file for this online at :
https://www.tecmint.com/tmux-to-access-multiple-linux-terminals-inside-a-single-console/
Cheers
Bill