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.
sshsi/README.md

20 lines
967 B
Markdown
Raw Permalink Normal View History

2021-04-19 12:58:30 +02:00
# sshsi
A simple and small ssh server image.
Inspired by [github.com/panubo/docker-sshd](https://github.com/panubo/docker-sshd).
2021-04-19 13:08:49 +02:00
You can pull the image from `registry.hhhammer.de/sshsi:latest`.
2021-04-19 12:58:30 +02:00
## 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.