Docker image with OpenSSH, based in Alpine
Running an interactive session
docker run -it --rm eduardoshanahan/openssh
Or with Docker Compose
docker-compose run --rm shell
Creating a key
After running docker-compose, you will be standing in the /keys directory in your openssh container.
When asked where to save the key:
Enter an empty passphrase if the key is going to be used to automate processes.
If you want to make some changes and version it, bumpversion is available