Leave bash script running on remote terminal while not logged in?
The command you are looking for is nohup
.
There is also screen
, which is for when you want to leave something running but come back and reattach interactively later.
nohup
is simpler if a command expects no user input after launch, and screen
is better if you want to be able to run the program interactively.