docker run \
-p 22:22 \
-v ${HOME}/.ssh/authorized_keys:/root/.ssh/authorized_keys:ro \
lwzm/sshd
sshd:
image: lwzm/sshd
volumes:
- YOUR.ssh/authorized_keys:/root/.ssh/authorized_keys:ro
ports:
- '22:22'
Content type
Image
Digest
Size
4.5 MB
Last updated
about 5 years ago
docker pull lwzm/sshd