HUB
Sign inSign up
sshd logo

mogproject/sshd

By mogproject

•Updated about 11 years ago

Image
0

407

mogproject/sshd repository overview

⁠How to use
$ 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
$ ssh -p $SSH_PORT -l ssh-user $SSH_HOST
⁠Hint
  • Default password of ssh-user is ssh-user
  • You are allowed to use sudo in the container. e.g. $ sudo -s
⁠How to build
$ docker build -t mogproject/sshd .
Tag summary
Recent tags
Content type
Image
Digest
sha256:f2ad5239d…
Size
108.1 MB
Last updated
about 11 years ago
docker pull mogproject/sshd:latest