Built using info from million12/ssh but very different usefullness
100% self-contained Dockerfile (no additional files needed to copy)
The supervisord config files, roo password-generator script etc. are included in Dockerfile
Container provides ssh-server
To see root password, use ;
docker logs | grep "root password
Container also provides xterm in a browser (if you don't want then comment tty.js installation)
To get xterm in browser, open relevant ports on firewall/routing etc and go to ;
http://<docker-engine_ipv4-address>:<hostport_mapped_to_containerport_8080>
(you can type "docker port <container_name>" to see the
You can also use env variable "ROOT_PASS=" to specify password when you run