Skip to content

Instantly share code, notes, and snippets.

@yassineAlouini
Created November 4, 2019 09:33
Show Gist options
  • Save yassineAlouini/1c8f6d7f725600c6c53441dbf9115214 to your computer and use it in GitHub Desktop.
Save yassineAlouini/1c8f6d7f725600c6c53441dbf9115214 to your computer and use it in GitHub Desktop.
Remote Jupyter access to my desktop aliases
alias port_forward='nohup ssh -N -f -L localhost:8889:localhost:8889 deepmeaning'
alias remote_notebook_start='nohup ssh -f deepmeaning "jupyter notebook --no-browser --port=8889"; port_forward'
alias remote_notebook_stop='ssh deepmeaning "pkill -u yassinealouini jupyter"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment