Skip to content

Commit

Permalink
release 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
macropin committed Aug 28, 2020
1 parent 79a23b4 commit a3ad270
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,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.2.1 mkpasswd
$ docker run --rm -it --entrypoint /usr/bin/env docker.io/panubo/sshd:1.3.0 mkpasswd
Password:
$6$w0ZvF/gERVgv08DI$PTq73dIcZLfMK/Kxlw7rWDvVcYvnWJuOWtxC7sXAYZL69CnItCS.QM.nTUyMzaT0aYjDBdbCH1hDiwbQE8/BY1
```
Expand All @@ -109,7 +109,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/ \
docker.io/panubo/sshd:1.2.1
docker.io/panubo/sshd:1.3.0
```

## Usage Example
Expand All @@ -126,7 +126,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.2.1
docker.io/panubo/sshd:1.3.0
```

Create a `www` user with gid/uid 48. You can access with `ssh www@localhost -p 2222` using your private key.
Expand All @@ -137,7 +137,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.2.1
docker.io/panubo/sshd:1.3.0
```

## Releases
Expand Down

0 comments on commit a3ad270

Please sign in to comment.