Skip to content

Instantly share code, notes, and snippets.

@AndrewILWilliams
Created March 3, 2020 17:26
Show Gist options
  • Select an option

  • Save AndrewILWilliams/5c2dd19003dd24fc8b1cdb157a6ad1b5 to your computer and use it in GitHub Desktop.

Select an option

Save AndrewILWilliams/5c2dd19003dd24fc8b1cdb157a6ad1b5 to your computer and use it in GitHub Desktop.
SSH to jasmin-sci3 with forwarding for Jupyter Lab/Notebooks
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