0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00

Recommend more secure password hash (#282)

This commit is contained in:
Adrian Dvergsdal 2021-10-05 00:01:01 +02:00
parent 9e09e0464f
commit 302390e67c
No known key found for this signature in database
GPG key ID: C1E9E2D9552A42D2

View file

@ -96,8 +96,8 @@ docker run \
'foo:$1$0G2g0GSt$ewU0t6GXG15.0hWoOX8X9.:e:1001'
```
Tip: you can use [atmoz/makepasswd](https://hub.docker.com/r/atmoz/makepasswd/) to generate encrypted passwords:
`echo -n "your-password" | docker run -i --rm atmoz/makepasswd --crypt-md5 --clearfrom=-`
Tip: you can use this Python code to generate encrypted passwords:
`docker run --rm python:alpine python -c "import crypt; print(crypt.crypt('YOUR_PASSWORD'))"`
## Logging in with SSH keys