I am connected to a remote computer by using ssh connection. I am using jupyter notebook to train a neural network model. The process will take days to finish. I want to keep the process running even after I am disconnected. I know that tmux and screen can do that for me but i have a problem
so the way i connect is from windows
ssh Ipaddress
Then I connect to the Jupyter notebook. This gives me a URL address to open the notebook.This is happening in a single command prompt.
Now the problem is that i have to write this line,in a separate command prompt.
ssh -NL portnumber:localhost:portnumber host@IP
And when I turn my computer off this connection is cut which makes the process stop running.Is there a work around with this