GeoScripting-WUR / PythonProgramming

Lesson to refresh Python skills and to introduce Python working environment
https://geoscripting-wur.github.io/PythonRefresher/
Apache License 2.0
1 stars 5 forks source link

Jupyter protip #1

Open GreatEmerald opened 5 years ago

GreatEmerald commented 5 years ago

It would be nice to mention somewhere that since Jupyter is a web server, it can be accessed directly through SSH as

ssh -N -L8888:localhost:8888 username@VDIname

And then going to http://localhost:8888. That should make students' lives a bit nicer.

Hm, it would overall be nice to have something like "protip" boxes of things that are useful but students are not required to know them...

Davidswinkels commented 5 years ago

It would be good to add this knowledge, but are you sure this works on the VDIs? It does not directly work on my local Ubuntu 18.04 machine. Error: ssh: connect to host david-n56vm port 22: Connection refused

If VDIs are available again, can you (@GreatEmerald) test it and then also add it as a protip? It would be very nice to have an explanation of SSH.

GreatEmerald commented 5 years ago

Yes, it does work on VDIs, SSH is enabled by default. You just need to know your VDI name or IP.