Page 1 of 1

Keep running process after ssh logout

Posted: 02 Jan 2022, 17:21
by fabiobiscia
Hi everyone. I have a python script which is supposed to run tasks on background. From my TOS web GUI I was unable to start the .py script so I did it from the SSH terminal. Unfortunately, however, if I log out of the SSH session, or the computer switches off, the process crashes. Is there a way to start a process and leave it running on background after SSH logout? Thanks

Re: Keep running process after ssh logout

Posted: 02 Jan 2022, 23:43
by outkastm
You have different options, appending & after the command, or using either nohup or screen commands