Created
March 3, 2020 17:26
-
-
Save AndrewILWilliams/5c2dd19003dd24fc8b1cdb157a6ad1b5 to your computer and use it in GitHub Desktop.
SSH to jasmin-sci3 with forwarding for Jupyter Lab/Notebooks
This file contains hidden or 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
| function jasmin(){ | |
| # SSH to the jasmin-sci3 node (most memory) on jasmin | |
| # with forwarding set up so that it can easily tunnel to a local browser ! | |
| # | |
| # Run with: jasmin PORTNUMBER | |
| ssh -A -XY andreww@jasmin-login1.ceda.ac.uk -L ${1}:localhost:${1} -t ssh -A -XY jasmin-sci3 -L ${1}:localhost:${1} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment