This is a simple alpine based SSHD server
You can use it to test containers inside kubernetes.
So simply pass your ssh public key as env var AUTHORIZED_KEYS to the container at run time, and you are good to go. You can actually pass multiple SSH public keys by putting them in one file, and then letting the entire file load as a string in this ENV variable. For example:
AUTHORIZED_KEYS="$(cat .ssh/my_many_ssh_public_keys_in_one_file.txt)"
Content type
Image
Digest
sha256:cf1942793…
Size
16 MB
Last updated
over 1 year ago
docker pull sgaunet/alpine-sshd