BLOG
미분류

How to foward jupyter that is remotely running?


Aug. 21, 2024, 3:26 p.m.



If we want to use jupyter locally that is remotely running(ex running on server), we have to do forwarding.

This is the way how I did it.

1. Run jupyter

Run jupyter on the server.

jupyter lab --no-browser --port=8080

2. Do forwarding

Open another local terminal, and run this code with username/ip of remote server.

ssh -NfL localhost:8080:localhost:8080 {username}@{server_ip}

3. Finish

You can run the jupyter locally by enter localhost:8080 on the web browser.

ssh jupyter port



Search