How to keep the process running on remote server even if the ssh connection is closed?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can use screen to detach a session. You connect to your ssh server, launch screen and then your computation...
At your next connection, screen -a
to attach previous sessions
see : http://www.bangmoney.org/presentations/screen.html
回答2:
You can run your process/command inside a screen or tmux session, Or you can do:
yourcmd &
disown