I am attempting to run a program 'a.o' on a remote server. To keep it running after closing SSH connection, I tried the following:
setsid ./a.o
nohup ./a.o
./a.o &
disown -h %1
None of these options seem to work, and I cannot figure out why. Any ideas on how to fix this problem?
P.S. I am using a tunnel connection to connect to the server via a jump machine. Also, this is a program that involves CUDA code running on GPU. Do these have anything to do with the issue?
screen
andtmux
are quite good, and both are in the Ubuntu repositories.