Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Recommended Docker Images and Tags
Most of my Docker images have different variants
(corresponding to tags
for different use cases.
And each tag might have histocial versions
with the pattern
hh stand for the month, day and hour)
for fallback if a tag …
wajig install proxychains4
brew install proxychains-ng
Notice that the proxychains-ng installed using Homebrew on Mac does not work well right now (as of 2019-03-07). An alternative way is to use proxychains via Docker on Mac. The Docker image dclong/jupyterhub-ds has proxychains (NOT proxychains-ng) installed.
The StackOverflow discussion What's ssh port forwarding and what's the difference between ssh local and remote port forwarding [duplicate] has a good visual comparison/explanation of the difference between the
-Lstands for local) and
-Rstands for remote).
sshtunnel is a Python implementation of SSH …
General Tips and Traps
The permissions of the directory
~/.sshand its subcontents on both the local machine and the remote server must be properly set in order for SSH login via public key to work. A good pratice is to set the permission of
700(on both …
Note that running containers will NOT be removed by default.
This is what users want generally speaking.
You can use the option
-f to force removing running containers,
but use it with caution …