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
#!/bin/bash | |
# local.sh - access a remote running jupyter notebooks, for example on a | |
# cluster, locally. These steps can be run from any directory on your local | |
# machine. | |
# Create a tunnel for notebook communication. The user and server credentials | |
# should be the same as you used to log in to the server for the `remote.sh` | |
# script. | |
ssh -N -f -L localhost:8888:localhost:8890 <user>@<server> |