Assume ~/.ssh/id_rsa.pub exists (for what it is google "ssh key pairs")
To use the container:
docker run -it -p 10022:22 -e "SSH_PUBLIC_KEY=$(cat ~/.ssh/id_rsa.pub)" 1733116199/ssh
and then
ssh blah@localhost -p 10022
You should not need to type in a password.
Content type
Image
Digest
Size
101.2 MB
Last updated
over 5 years ago
docker pull 1733116199/ssh