![]() Enter the local port number to use to access Jupyter on your local machine. Next, click SSH on the bottom of the left pane to expand the menu, and then click Tunnels. If you are using Windows, you can also easily create an SSH tunnel using Putty as outlined in How To Use SSH Keys with PuTTY on DigitalOcean Droplets (Windows users).įirst, enter the server URL or IP address as the hostname as shown: Now, from a web browser on your local machine, open the Jupyter Notebook web interface with 8000 (or whatever port number you chose). If no error shows up after running the ssh -L command, you can run Jupyter Notebook: For example, for the username sammy and the server address 111.111.111.111, the command would be: sammy) on the Droplet which you created and your_server_ip is the IP address of your Droplet. Use a port greater or equal to 8000 (ie 8001, 8002, etc.) to avoid using a port already in use by another process. Optionally change port 8000 to one of your choosing (for example, if 8000 is used by another process). ![]() You should change 8888 to the port which Jupyter Notebook is running on. 8888) on the Droplet will appear on the first port number (i.e. This means that whatever is running on the second port number (i.e. The ssh command opens an SSH connection, but -L specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side (Droplet).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |