- ssh-client
- scp
- rsync
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_hosts
docker run [-it] \
[-e "SSH__ID_RSA=<the contents of id_rsa file>"] \
[-e "SSH__KNOWN_HOSTS=..."] \
prog/ssh-utils <command>