Sign inSign up

mogproject/sshd

By mogproject

Updated almost 11 years ago

Image
0

381

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

Content type

Image

Digest

sha256:f2ad5239d

Size

108.1 MB

Last updated

almost 11 years ago

docker pull mogproject/sshd