From e28e7d1ad7e37e4363f9dd19bbdcb8d65498f903 Mon Sep 17 00:00:00 2001 From: Andrew Cutler Date: Tue, 9 Jul 2024 10:46:11 +1000 Subject: [PATCH] Update example versions --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 55509f3..861f6f0 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,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 quay.io/panubo/sshd:1.6.0 mkpasswd +$ docker run --rm -it --entrypoint /usr/bin/env quay.io/panubo/sshd:1.9.0 mkpasswd Password: $6$w0ZvF/gERVgv08DI$PTq73dIcZLfMK/Kxlw7rWDvVcYvnWJuOWtxC7sXAYZL69CnItCS.QM.nTUyMzaT0aYjDBdbCH1hDiwbQE8/BY1 ``` @@ -112,7 +112,7 @@ docker run -ti -p 2222:22 \ -e SSH_USERS=user:1000:1000 \ -e SSH_ENABLE_PASSWORD_AUTH=true \ -v $(pwd)/entrypoint.d/:/etc/entrypoint.d/ \ - quay.io/panubo/sshd:1.6.0 + quay.io/panubo/sshd:1.9.0 ``` To enable password authentication on the root account, the previous `setpasswd.sh` script must also define a password for the root user, then @@ -122,7 +122,7 @@ the command will be: docker run -ti -p 2222:22 \ -e SSH_ENABLE_ROOT_PASSWORD_AUTH=true \ -v $(pwd)/entrypoint.d/:/etc/entrypoint.d/ \ - quay.io/panubo/sshd:1.6.0 + quay.io/panubo/sshd:1.9.0 ``` ## Usage Example @@ -139,7 +139,7 @@ docker run -ti -p 2222:22 \ -v $(pwd)/keys/:/etc/ssh/keys \ -v $(pwd)/data/:/data/ \ -e SSH_ENABLE_ROOT=true \ - quay.io/panubo/sshd:1.6.0 + quay.io/panubo/sshd:1.9.0 ``` Create a `www` user with gid/uid 48. You can access with `ssh www@localhost -p 2222` using your private key. @@ -150,7 +150,7 @@ docker run -ti -p 2222:22 \ -v $(pwd)/keys/:/etc/ssh/keys \ -v $(pwd)/data/:/data/ \ -e SSH_USERS="www:48:48" \ - quay.io/panubo/sshd:1.6.0 + quay.io/panubo/sshd:1.9.0 ``` ## Releases