As part of a slightly complex script, I need to tell a server to run a simulation. Normally, I would achieve this by doing ssh user@server \'simulation/script\'
ssh user@server \'simulation/script\'
I ran into the same issue today, but I was able to resolve it using nohup
nohup
nohup bash -c 'sleep 5 && at now -f script-name.sh'