Skip to content

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

Notifications You must be signed in to change notification settings

prog/docker-ssh-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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>

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages