mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-24 12:59:24 -05:00
Recommend more secure password hash (#282)
This commit is contained in:
parent
9e09e0464f
commit
302390e67c
1 changed files with 2 additions and 2 deletions
|
@ -96,8 +96,8 @@ docker run \
|
||||||
'foo:$1$0G2g0GSt$ewU0t6GXG15.0hWoOX8X9.:e:1001'
|
'foo:$1$0G2g0GSt$ewU0t6GXG15.0hWoOX8X9.:e:1001'
|
||||||
```
|
```
|
||||||
|
|
||||||
Tip: you can use [atmoz/makepasswd](https://hub.docker.com/r/atmoz/makepasswd/) to generate encrypted passwords:
|
Tip: you can use this Python code to generate encrypted passwords:
|
||||||
`echo -n "your-password" | docker run -i --rm atmoz/makepasswd --crypt-md5 --clearfrom=-`
|
`docker run --rm python:alpine python -c "import crypt; print(crypt.crypt('YOUR_PASSWORD'))"`
|
||||||
|
|
||||||
## Logging in with SSH keys
|
## Logging in with SSH keys
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue