A docker wrapper that maps your ~/.ssh
folder to a an alpine-based SSH container. It mounts to a corresponding ~/.ssh/
to the container as read-only. Previously it that was copied, permissions were modified, but with docker-compose, now it can be mounted directly.
Although this is mounted as read-only, it is not recommended that you mount your actual .ssh
folder. You should be mounting one that makes sense for your project.
- docker
- docker-compose
docker compose up -d ssh
Then use ssh as you normally would. Enjoy!
See LICENSE file. I chose MIT because I didn't do much here except glue awesome code together. License selected using https://choosealicense.com/ -- a very handy tool!