Skip to content

Instantly share code, notes, and snippets.

@5shekel
Created April 6, 2024 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 5shekel/ae35980ea32801424af452ea0afcc89b to your computer and use it in GitHub Desktop.
Save 5shekel/ae35980ea32801424af452ea0afcc89b to your computer and use it in GitHub Desktop.
connect to runpod notebook kernel

map remote port 8888 to localhost
ssh root@213.181.111.2 -p 22408 -i ~/.ssh/id_ed25519 -L 8888:localhost:8888
grab the jupyter passwrod from runpod
JUPYTER_PASSWORD=qi14ld6tw7h4ino5fwh
set the local kernel to "exsiting one", then refer it to this url
http://localhost:8888/lab?token=qi14ld6g7h4ino56cwh

full thing here, but its a bit outdated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment