79554039

Date: 2025-04-03 21:26:58
Score: 0.5
Natty:
Report link

Several things need to be setup/configured:

  1. Remote server : /etc/ssh/sshd_config: AllowTcpForwarding yes # need to allow this.

  2. Bring up jupyter lab to listen to port say 8585: $ jupyter-lab --port 8585

  3. local Mac/PC: terminal: set up a tunnel: $ ssh -L 8585:localhost:8585 remote_server

  4. local Mac/PC: browser: https://localhost:8585

    With this, the localhost:8585 traffic is routed through tunnel to remote_server sshd to remote_server port 8585 to remote_server process jupyter lab.

    In remote_server, check if jupyter lab (or any process) is listening to port 8085:
    $ netstat -an | grep LISTEN | grep 85

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: AI Chung