Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ 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

Expand Down