Program running non-stop in ssh

345 Views Asked by At

I want to run non-stop program in SSH. When I use Command ./program.out and I close SSH my program exits too. I'm not root.

1

There are 1 best solutions below

0
On BEST ANSWER

You can use the program 'screen' for that.

ssh name@server
screen
# startProgramYouWant
CTRL-A+D
# now you are in nomal shell and can exit your ssh session
# ... later
ssh name@server
screen -r
# now you are in your earlier screen session