WorkOnServer_simple_env

SSH Tunnel

Local Port Forwarding

Local Port Forwarding

ssh -L [bind_address]:<port>:<host>:<host_port> <SSH Server>

💡 Note:

  1. host is an address relative to the SSH Server, not the Client!
  2. bind_address defaults to bind on localhost
  3. <SSH Server> is user@remote-host_ip

Connect to Remote-Host

Example:

ssh -L localhost:<port>:localhost:8888 user@remote-host_ip

Build & Run DL Environment

./DLEnv.sh --new

Troubleshoot

If got this message The file “./DLEnv.sh” is not executable by this user,
please use chomd 755 ./DLEnv.sh to chage file permissions.

image

Run an existing container

./DLEnv.sh

Run Jupyter Notebook

In your container:

jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser

image


watch -n 2 nvidia-smi

😃 You can modify this script and dockerfile as needed ~