mirror of
https://github.com/atmoz/sftp.git
synced 2025-01-26 13:50:57 -05:00
fix: change generate encrypted passwords cmd.
This commit is contained in:
parent
46a8b3db48
commit
15f0269625
1 changed files with 3 additions and 1 deletions
|
@ -97,7 +97,9 @@ docker run \
|
|||
```
|
||||
|
||||
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'))"`
|
||||
`docker run --rm python:3.10 python -c "import crypt; print(crypt.crypt('YOUR_PASSWORD'))"`
|
||||
or use [makepassd](https://manpages.debian.org/bookworm/makepasswd/makepasswd.1.en.html)
|
||||
`docker run --rm --entrypoint=/usr/bin/mkpasswd atmoz/sftp:alpine "YOUR_PASSWORD"`
|
||||
|
||||
## Logging in with SSH keys
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue