Skip to content

Commit 3f665ae

Browse files
committed
update for 1.2.1 release
1 parent 2f09db9 commit 3f665ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ It is strongly recommend to pre-hash passwords. Passwords that are not hashed ar
9191
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.
9292

9393
```
94-
$ docker run --rm -it --entrypoint /usr/bin/env docker.io/panubo/sshd:1.2.0 mkpasswd
94+
$ docker run --rm -it --entrypoint /usr/bin/env docker.io/panubo/sshd:1.2.1 mkpasswd
9595
Password:
9696
$6$w0ZvF/gERVgv08DI$PTq73dIcZLfMK/Kxlw7rWDvVcYvnWJuOWtxC7sXAYZL69CnItCS.QM.nTUyMzaT0aYjDBdbCH1hDiwbQE8/BY1
9797
```
@@ -101,10 +101,10 @@ To start sshd with the `setpasswd.sh` script
101101
```
102102
docker run -ti -p 2222:22 \
103103
-v $(pwd)/keys/:/etc/ssh/keys \
104-
-e SSH_USERS=user1.2.00:1000 \
104+
-e SSH_USERS=user:1000:1000 \
105105
-e SSH_ENABLE_PASSWORD_AUTH=true \
106106
-v $(pwd)/entrypoint.d/:/etc/entrypoint.d/ \
107-
docker.io/panubo/sshd:1.2.0
107+
docker.io/panubo/sshd:1.2.1
108108
```
109109

110110
## Usage Example
@@ -121,7 +121,7 @@ docker run -ti -p 2222:22 \
121121
-v $(pwd)/keys/:/etc/ssh/keys \
122122
-v $(pwd)/data/:/data/ \
123123
-e SSH_ENABLE_ROOT=true \
124-
docker.io/panubo/sshd:1.2.0
124+
docker.io/panubo/sshd:1.2.1
125125
```
126126

127127
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 \
132132
-v $(pwd)/keys/:/etc/ssh/keys \
133133
-v $(pwd)/data/:/data/ \
134134
-e SSH_USERS="www:48:48" \
135-
docker.io/panubo/sshd:1.2.0
135+
docker.io/panubo/sshd:1.2.1
136136
```
137137

138138
## Releases

0 commit comments

Comments
 (0)