$ SSH_PORT=49900 # Set any unused port
$ SSH_HOST=localhost # Set the ip address/hostname of your docker host
$ docker run -d -t -p $SSH_PORT:22 mogproject/sshd-supervisor
$ ssh -p $SSH_PORT -l ssh-user $SSH_HOST
ssh-user is ssh-usersudo in the container. e.g. $ sudo -s$ docker build -t mogproject/sshd-supervisor .
Content type
Image
Digest
sha256:1556024dd…
Size
122.3 MB
Last updated
almost 11 years ago
docker pull mogproject/sshd-supervisor