HOWTO: tunnel to a compute server through login server

Suppose you want to tunnel yourself to server Bob through login server Alice. Then you want to start jupyter lab or notebook and run in your browser:

local> ssh -L 4242:localhost:4242 USERNAME@Alice
Alice> ssh -L 4242:localhost:4242 USERNAME@Bob
Bob> tmux new -s
Bob> jupyter lab --port=4242 --no-browser

Click on URL or copy/paste it.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.