Small utility docker that runs an sshd to easily access other containers.
485
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
Content type
Image
Digest
Size
13.2 MB
Last updated
almost 10 years ago
docker pull robvanmieghem/sshd