...
Code Block |
---|
ssh <user>@centos7.slac.stanford.edu -L <port>:localhost:<port> -X ssh mcclogin -L <port>:localhost:<port> -X ssh fphysics@facet-srv20 -L <port>:localhost:<port> -X source <env path> jupyter lab --no-browser --port <port> copy paste the url it spits out in terminal into my browser on laptop |
An abomination which does the same thing but with a single command from your local machine; good idea to alias this command!
ssh <user>@centos7.slac.stanford.edu -L <port>:localhost:<port> 'ssh mcclogin -L <port>:localhost:<port> 'ssh fphysics@facet-srv20 -L <port>:localhost:<port> 'jupyter-lab --no-browser --port <port>'''