ourtownrentals/sshd
Minimal Alpine Linux Docker container with sshd exposed and rsync installed.
10K+
Minimal Alpine Linux Docker container
with sshd
exposed and rsync
installed.
Based on macropin/docker-sshd
by Andrew Cutler.
The images are built and hosted automatically on Docker Hub at ourtownrentals/sshd.
Pull with
$ docker pull ourtownrentals/sshd
Mount your .ssh credentials (RSA public keys) at /root/.ssh/
in order to access the container via root ssh.
Optionally mount a custom sshd config at /etc/ssh/
.
docker run -d -p 2222:22 \
-v /secrets/id_rsa.pub:/root/.ssh/authorized_keys:ro \
-v /mnt/data/:/data/ ourtownrentals/sshd
The sshd source is hosted on GitHub. Clone the project with
$ git clone https://github.com/ourtownrentals/docker-sshd.git
Build and run the container with
$ docker build -t sshd .
$ docker run sshd
Please submit and comment on bug reports and feature requests.
To submit a patch:
git checkout -b my-new-feature
).git commit -am 'Add some feature'
).git push origin my-new-feature
).This app is licensed under the MIT license.
This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.
docker pull ourtownrentals/sshd