Public | Automated Build

Last pushed: a year ago
Short Description
OpenSSH Server providing access to you Docker volumes.
Full Description

thomass/sshd

OpenSSH Server Image

usage

Assuming you would serve the Docker named volume yourvolume, you could provide it...

With password authentication

docker run -d --name sshd -p 10022:22 \
  -v yourvolume:/data \
  --env "USER_PASSWORD=notthatlush" thomass/sshd

With just public key authentication

docker run -d --name sshd -p 10022:22 \
  -v yourvolume:/data \
  -v /host/path/to/authorized_keys:/home/sshuser/.ssh/authorized_keys thomass/sshd

accessing the server

As with the configuration above you can execute following command:

ssh -p 10022 sshuser@dockerserver

Mention that dockerserver is your (arbitrary) host running Docker, but sshuser is the login user provided by this image.

Versioning

The Docker Images are versioned as follows:

<OpenSSH-Version>-<Image Version>

Docker Pull Command
Owner
thomass
Source Repository

Comments (0)