How to keep the process running on remote server even if the ssh connection is closed?
You can run your process/command inside a screen or tmux session, Or you can do:
yourcmd & disown