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
15f0269625
commit
841b0c5ab5
1 changed files with 2 additions and 0 deletions
|
@ -98,7 +98,9 @@ docker run \
|
|||
|
||||
Tip: you can use this Python code to generate encrypted passwords:
|
||||
`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