Blender via SSH stops rendering if I disconnect
The session is closed when you disconnect from ssh. The solution is simple. You need to use screen

sudo apt-get install screen


(in case you are using Ubuntu)

Then do ssh normally.

Inside the ssh session, type

screen


Accept, and then run your process. Now, do not close the window. Press Ctrl, hold it while you press A, then hold both keys and press D.

Then the screen session is detached, the process is running in the background and you can exit your ssh session.

Later, you can ssh again. Your process will still be there. To recover the screen session, type

screen -r