How to keep the task running after closing the ssh connection?

前端 未结 2 720
别跟我提以往
别跟我提以往 2021-01-28 12:07

How to keep the process running on remote server even if the ssh connection is closed?

2条回答
  •  无人及你
    2021-01-28 12:24

    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

提交回复
热议问题