Created
January 22, 2021 14:12
-
-
Save sjvrijn/6be216bf3a76f49b83d5a71f4fa975ad to your computer and use it in GitHub Desktop.
Launch a jupyter lab instance on a remote machine while accessing locally with 'remotenotebook jupyter-remote':
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this function in your ~/.bash_aliases file, which takes the desired remote machine as argument: | |
remotenotebook() { ssh -4 -L 8891:localhost:8891 $1 -t "~/.ipynb"; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create this .ipynb bash script on the remote machine: | |
cd /path/to/working/directory/ | |
/hardcoded/path/to/jupyter-lab --no-browser --port=8891 --NotebookApp.iopub_data_rate_limit=10000000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment