Sign inSign up

robvanmieghem/sshd

By robvanmieghem

•Updated almost 10 years ago

Small utility docker that runs an sshd to easily access other containers.

Image
0

485

robvanmieghem/sshd repository overview

⁠docker-sshd

Small utility docker that runs an sshd to easily access other containers.

Usage:

Expose port 22 of the docker on the host and pass a public key as commandparameter, it will be added to the authorized keys of the root user.

Example:

docker run --rm -p 1234:22 robvanmieghem/sshd "ssh-rsa ABBB...BBBBBBBB$BBBB...anAB [email protected]"

Docker hub: https://hub.docker.com/r/robvanmieghem/docker-sshd⁠

Tag summary

Content type

Image

Digest

Size

13.2 MB

Last updated

almost 10 years ago

docker pull robvanmieghem/sshd