Skip to content

Commit e28e7d1

Browse files
committed
Update example versions
1 parent f3f47c7 commit e28e7d1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ It is strongly recommend to pre-hash passwords. Passwords that are not hashed ar
9999
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.
100100

101101
```
102-
$ docker run --rm -it --entrypoint /usr/bin/env quay.io/panubo/sshd:1.6.0 mkpasswd
102+
$ docker run --rm -it --entrypoint /usr/bin/env quay.io/panubo/sshd:1.9.0 mkpasswd
103103
Password:
104104
$6$w0ZvF/gERVgv08DI$PTq73dIcZLfMK/Kxlw7rWDvVcYvnWJuOWtxC7sXAYZL69CnItCS.QM.nTUyMzaT0aYjDBdbCH1hDiwbQE8/BY1
105105
```
@@ -112,7 +112,7 @@ docker run -ti -p 2222:22 \
112112
-e SSH_USERS=user:1000:1000 \
113113
-e SSH_ENABLE_PASSWORD_AUTH=true \
114114
-v $(pwd)/entrypoint.d/:/etc/entrypoint.d/ \
115-
quay.io/panubo/sshd:1.6.0
115+
quay.io/panubo/sshd:1.9.0
116116
```
117117

118118
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:
122122
docker run -ti -p 2222:22 \
123123
-e SSH_ENABLE_ROOT_PASSWORD_AUTH=true \
124124
-v $(pwd)/entrypoint.d/:/etc/entrypoint.d/ \
125-
quay.io/panubo/sshd:1.6.0
125+
quay.io/panubo/sshd:1.9.0
126126
```
127127

128128
## Usage Example
@@ -139,7 +139,7 @@ docker run -ti -p 2222:22 \
139139
-v $(pwd)/keys/:/etc/ssh/keys \
140140
-v $(pwd)/data/:/data/ \
141141
-e SSH_ENABLE_ROOT=true \
142-
quay.io/panubo/sshd:1.6.0
142+
quay.io/panubo/sshd:1.9.0
143143
```
144144

145145
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 \
150150
-v $(pwd)/keys/:/etc/ssh/keys \
151151
-v $(pwd)/data/:/data/ \
152152
-e SSH_USERS="www:48:48" \
153-
quay.io/panubo/sshd:1.6.0
153+
quay.io/panubo/sshd:1.9.0
154154
```
155155

156156
## Releases

0 commit comments

Comments
 (0)