Skip to content
Docker image running Alpine Linux and OpenSSH.
Shell Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
Dockerfile
LICENSE
README.md
demyx-entrypoint.sh
travis.sh

README.md

ssh

Build Status Docker Pulls Architecture Alpine OpenSSH Buy Me A Coffee

OpenSSH is a suite of security-related network-level utilities based on the Secure Shell protocol, which help to secure network communications via the encryption of network traffic over multiple authentication methods and by providing secure tunneling capabilities.

Used for github.com/demyxco to allow SFTP to WordPress containers in development mode. This image has created a user www-data with the password www-data, disabled PermitEmptyPasswords, and disabled root login.

TITLE DESCRIPTION
USER
GROUP
www-data (82)
www-data (82)
SSH PORT 22

Updates & Support

Code Size Repository Size Watches Stars Forks

  • Auto built weekly on Sundays (America/Los_Angeles)
  • Rolling release updates
  • For support: #demyx

Usage

# Run ssh container first
docker run -d --rm \
--name ssh \
-v ssh:/home/www-data/.ssh \
--volumes-from php-container \
-p 2222:22 \
demyx/ssh

# Copy your authorized_keys to container
docker cp "$HOME"/.ssh/authorized_keys ssh:/home/www-data/.ssh

# Restart ssh container so authorized_keys permissions are set
docker restart ssh
You can’t perform that action at this time.