0
0
Fork 0
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:
xinze.liu 2025-01-15 18:17:50 +08:00
parent 15f0269625
commit 841b0c5ab5

View file

@ -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