Sign inSign up

shiphp/simple-ssh

By shiphp

Updated over 9 years ago

A Docker container to execute commands via SSH connections.

Image
0

220

shiphp/simple-ssh repository overview

Shiphp Simple SSH

A Docker container to execute commands via SSH connections.

Instructions

  • Pull down the latest: docker pull shiphp/simple-ssh
  • Create a .env file with the following fields:
    • USER The remote connection's username.
    • HOST The IP for the remote connection.
    • SCRIPT The script to run on the remote server.
    • PRIVATE_SSH_KEY Your private SSH key that has remote access to the server.
  • Run the script: docker run --env-file .env shiphp/simple-ssh

Tag summary

Content type

Image

Digest

Size

4.2 MB

Last updated

over 9 years ago

docker pull shiphp/simple-ssh