From 3b5594912c3f348039c86eabecc6adc0785948cb Mon Sep 17 00:00:00 2001 From: Andrew Cutler Date: Tue, 10 Mar 2020 10:48:42 +1100 Subject: [PATCH] update readme to 1.2.0 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4e16074..8c60da7 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ It is strongly recommend to pre-hash passwords. Passwords that are not hashed ar To generate a hashed password use `mkpasswd` which is available in this image or use [https://trnubo.github.io/passwd.html](https://trnubo.github.io/passwd.html) to generate a hash in your browser. Example use of `mkpasswd` below. ``` -$ docker run --rm -it --entrypoint /usr/bin/env docker.io/panubo/sshd:1.1.0 mkpasswd +$ docker run --rm -it --entrypoint /usr/bin/env docker.io/panubo/sshd:1.2.0 mkpasswd Password: $6$w0ZvF/gERVgv08DI$PTq73dIcZLfMK/Kxlw7rWDvVcYvnWJuOWtxC7sXAYZL69CnItCS.QM.nTUyMzaT0aYjDBdbCH1hDiwbQE8/BY1 ``` @@ -101,10 +101,10 @@ To start sshd with the `setpasswd.sh` script ``` docker run -ti -p 2222:22 \ -v $(pwd)/keys/:/etc/ssh/keys \ - -e SSH_USERS=user1:1000:1000 \ + -e SSH_USERS=user1.2.00:1000 \ -e SSH_ENABLE_PASSWORD_AUTH=true \ -v $(pwd)/entrypoint.d/:/etc/entrypoint.d/ \ - docker.io/panubo/sshd:1.1.0 + docker.io/panubo/sshd:1.2.0 ``` ## Usage Example @@ -121,7 +121,7 @@ docker run -ti -p 2222:22 \ -v $(pwd)/keys/:/etc/ssh/keys \ -v $(pwd)/data/:/data/ \ -e SSH_ENABLE_ROOT=true \ - docker.io/panubo/sshd:1.1.0 + docker.io/panubo/sshd:1.2.0 ``` Create a `www` user with gid/uid 48. You can access with `ssh www@localhost -p 2222` using your private key. @@ -132,7 +132,7 @@ docker run -ti -p 2222:22 \ -v $(pwd)/keys/:/etc/ssh/keys \ -v $(pwd)/data/:/data/ \ -e SSH_USERS="www:48:48" \ - docker.io/panubo/sshd:1.1.0 + docker.io/panubo/sshd:1.2.0 ``` ## Releases