Sign inSign up

prog/ssh-utils

By prog

•Updated over 8 years ago

Alpine based image with ssh utils (ssh-client, scp, rsync) configurable by environment variables

Image
1

3.8K

prog/ssh-utils repository overview

⁠Docker image with SSH utilities

  • ssh-client
  • scp
  • rsync

⁠Configuration

Use following environment variables to set contents of files in the ~/.ssh/ directory:

  • SSH__CONFIG ⟶ .ssh/config
  • SSH__ID_RSA ⟶ .ssh/id_rsa
  • SSH__ID_RSA_PUB ⟶ .ssh/id_rsa.pub
  • SSH__KNOWN_HOSTS ⟶ .ssh/known_hosts

⁠Usage

docker run [-it] \
	[-e "SSH__ID_RSA=<the contents of id_rsa file>"] \
	[-e "SSH__KNOWN_HOSTS=..."] \
	prog/ssh-utils <command>

Tag summary

Content type

Image

Digest

Size

3.1 MB

Last updated

over 8 years ago

docker pull prog/ssh-utils