ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • jupyter port forwarding
    tool 2018. 5. 28. 15:09


    참조:https://hsaghir.github.io/data_science/jupyter-notebook-on-a-remote-machine-linux/


    server, client 컴퓨터간에 ssh연결을 위한 키공유가 되어 있는 상태에서 아래의 명령어만 입력해주면 된다.  


    server$ jupyter notebook --no-browser --port=8889


    서버에서는 브라우저가 필요 없고, 8888은 기본 port라서 걍 바꿔줌. 



    client$ ssh -N -L localhost:8888:localhost:8889 [user@remote_host]


    ssh에서 -N옵션을 사용. 

    서버의 8889포트에 접근하고, 그다 음에 8889를 8888로 포워딩해줌. 



    client에서 localhost:8888 주소로 브라우저에 접근하면 된다~!

    'tool' 카테고리의 다른 글

    .NET, mono  (0) 2017.06.25
    W3af web scanner istall  (0) 2017.05.30
    Tor / Tor browser  (0) 2017.05.30
    cmake  (0) 2017.03.28
    terminal color scheme  (0) 2017.03.12
Designed by Tistory.