Alpine based image with ssh utils (ssh-client, scp, rsync) configurable by environment variables
3.8K
Use following environment variables to set contents of files in the ~/.ssh/ directory:
SSH__CONFIG ⟶ .ssh/configSSH__ID_RSA ⟶ .ssh/id_rsaSSH__ID_RSA_PUB ⟶ .ssh/id_rsa.pubSSH__KNOWN_HOSTS ⟶ .ssh/known_hostsdocker run [-it] \
[-e "SSH__ID_RSA=<the contents of id_rsa file>"] \
[-e "SSH__KNOWN_HOSTS=..."] \
prog/ssh-utils <command>
Content type
Image
Digest
Size
3.1 MB
Last updated
over 8 years ago
docker pull prog/ssh-utils