A minimal ssh server image.
This repository has been archived on 2023-11-19. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Augusto Dwenger J 8023a33f5a
All checks were successful
continuous-integration/drone/push Build is passing
Add image pull location information
2021-04-19 13:08:49 +02:00
.drone.yml Change docker registry username 2021-04-19 13:02:06 +02:00
Dockerfile Init commit 2021-04-19 12:58:30 +02:00
entrypoint.sh Init commit 2021-04-19 12:58:30 +02:00
LICENSE Init commit 2021-04-19 12:58:30 +02:00
README.md Add image pull location information 2021-04-19 13:08:49 +02:00

sshsi

A simple and small ssh server image.

Inspired by github.com/panubo/docker-sshd.

You can pull the image from registry.hhhammer.de/sshsi:latest.

Config

SSH Host Keys

SSH uses host keys to identify the server. To avoid receiving a security warning the host keys should be mounted on an external volume.

By default this image will create new host keys in /etc/ssh/keys which should be mounted on an external volume. If you are using existing keys and they are mounted in /etc/ssh this image will use the default host key location making this image compatible with existing setups.

If you wish to configure SSH entirely with environment variables it is suggested that you externally mount /etc/ssh/keys instead of /etc/ssh.

Authorized Keys

Mount your .ssh credentials (RSA public keys) at /root/.ssh/ in order to access the container.

License

This project is licensed under the MIT license.