Sign inSign up

apihackers/remote

By apihackers

Updated over 6 years ago

An SSH client meant to be run in CI services

Image
0

960

apihackers/remote repository overview

Docker Remote

Docker Build Status Commit Download size

An SSH client meant to be run in CI services.

Getting started

Fetch the docker image:

$ docker pull apihackers/remote

and then execute your remote commands:

$ docker run -rm -e SSH_USER -e SSH_HOST -e SSH_KEY -e WORKDIR apihackers/remote run-my-command with params

Environment variables

SSH_USER: the user to connect with. Default to root

SSH_HOST: the remote host to connect to

SSH_KEY: the private ssh key to authenticate with

WORKDIR: an optionnal directory into which command will be executed

DEBUG: if set to true, print some debug infos (ie. echo commands)

Examples

Gitlab CI
Circle CI

Tag summary

Content type

Image

Digest

Size

4.3 MB

Last updated

over 6 years ago

docker pull apihackers/remote