How to keep Jupyter notebooks running in aws instance server even if the connection got lost?.
Tmux might be what you are looking for.
Install tmux, start tmux (just typing
tmux from terminal should work), run jupyter notebook. Once you disconnected the notebook should still be running.
After you connect, type
tmux -a to reconnect to the sessions.
Tmux is qutie useful for working on remote machines - this book and associated materials are a very good intro in case you wanted to learn more about its features
Should I start tmux before ssh-ing or after ssh-ing to the aws server?
Also what is the way to copy Jupyter notebook link from a tmux session?