Skip to content

Instantly share code, notes, and snippets.

@jdeathe
Last active December 19, 2016 00:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdeathe/232c7b9e564d2f515a072453bd416ed1 to your computer and use it in GitHub Desktop.
Save jdeathe/232c7b9e564d2f515a072453bd416ed1 to your computer and use it in GitHub Desktop.
Example Configuration of jdeathe/centos-ssh Docker image on the Arukas (https://app.arukas.io) CaaS

Example Configuration of jdeathe/centos-ssh on Arukas CaaS

In the following example the user, SSH public key and passwordless sudo access have been configured.

If you are intending to host anything publicly then don't forget to expose more than port 22 when creating the app.

centos-ssh--arukas.png

Public/Private SSH keys

The jdeathe/centos-ssh image comes pre-installed with the Vagrant public key which requires the well-known insecure private key. This allows for testing without needing to generate a secure public/private key pair however it is recommended that you do not use this on any public facing installations and you run the container with SSH_AUTHORIZED_KEYS populated with your own public key.

To generate a public private key pair on Mac OSX or Linux use ssh-keygen and on Windows hosts use puttygen.exe if using the putty SSH client.

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment