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

0

Issue

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

Solution

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

Answered By – leJon

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More