本文原始出处:How to keep processes running after ending ssh session?
用过SSH远程连接的朋友可能会遇到这个问题,ssh断开之后,执行的程序也一并关闭了,那么如何保持程序在SSH断线后依然保持运行呢?
解决方案(最常用的):
1:tmux
2:nohub
3:screen
更多参考:
https://www.tecmint.com/keep-remote-ssh-sessions-running-after-disconnection/
https://alternativeto.net/software/screen/
文章的脚注信息由WordPress的wp-posturl插件自动生成

微信扫一扫,打赏作者吧~
![[已解决]nc命令报错 close: Bad file descriptor](http://www.jyguagua.com/wp-content/themes/begin/timthumb.php?src=http://www.jyguagua.com/wp-content/uploads/2022/03/Snipaste_2022-03-18_20-16-48.png&w=280&h=210&zc=1)
![[已解决]SecureCRT/SSH 连接Linux缓慢](http://www.jyguagua.com/wp-content/themes/begin/timthumb.php?src=http://www.jyguagua.com/wp-content/uploads/2020/07/ssh_slow.jpg&w=280&h=210&zc=1)
![[转载]Linux的tickless设置](http://www.jyguagua.com/wp-content/themes/begin/timthumb.php?src=http://www.litrin.net/wp-content/uploads/2018/11/kernel_menuconfig_tickless-1.png&w=280&h=210&zc=1)