Skip to content

final-gene/docker-hub-openssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSSH & OpenSSL

Docker build and publish

Docker image based on alpine linux with installed openssh client and openssl tools.

Strict host key checking is disabled.

You can use environment variable SSH_DEPLOY_KEY for your private key. It will create ssh agent with your ssh key.

To avoid the usage of the ssh agent set the variable DISABLE_AGENT to 1

How to use this image

Run the openssh image:

docker run \
    --rm \
    --env SSH_DEPLOY_KEY=<YOUR-PRIVATE-KEY>
    --volume "$(pwd)":/app \
    finalgene/openssh \
    <COMMAND-TO-RUN>

For further information about openssl take a look at the man page.

For further information about openssh take a look at the man pages:

Quick reference