diff --git a/images/docker-openssh-server.md b/images/docker-openssh-server.md index d9a8a20e0..16e5a6ede 100755 --- a/images/docker-openssh-server.md +++ b/images/docker-openssh-server.md @@ -158,6 +158,16 @@ It is also possible to run multiple copies of this container with different port You can volume map your own text file to `/etc/motd` to override the message displayed upon connection. You can optionally set the docker argument `hostname` +## Key Generation + +This container has a helper script to generate an ssh private/public key. In order to generate a key please run: +``` +docker run --rm -it --entrypoint /keygen.sh linuxserver/openssh-server +``` + +Then simply follow the prompts. +The keys generated by this script are only displayed on your console output, so make sure to save them somewhere after generation. + ## Support Info @@ -173,6 +183,7 @@ You can optionally set the docker argument `hostname` ## Versions +* **18.01.20:** - Add key generation script. * **13.01.20:** - Add openssh-sftp-server. * **19.12.19:** - Rebasing to alpine 3.11. * **17.10.19:** - Initial Release.