user-access/README.md

43 lines
661 B
Markdown
Raw Normal View History

2020-08-24 07:55:47 +00:00
File access with [ProFTPD](http://www.proftpd.org/) over sftp and a static user/password.
2016-10-31 17:53:00 +00:00
# Volumes
2017-09-06 08:46:44 +00:00
- `/var/lib/ftp/data`: root directory for files
2021-09-28 13:55:15 +00:00
# Files
## /etc/proftpd/keys/dhparams.pem
```
openssl dhparam -outform PEM -5
```
## /etc/proftpd/keys/ssh_key
```
ssh-keygen -b 2048 -t ed25519 -q -N "" -f ./ssh
cat ./ssh
```
2016-10-31 17:53:00 +00:00
# Environment Variables
## SERVER_NAME
Name displayed to connecting users.
2020-08-24 16:11:16 +00:00
## UMASK
- default: 006 007
Umask to use for files.
2017-10-18 09:31:18 +00:00
## STATIC_USER
A static username for authentication.
## STATIC_PASSWORD
Password for the static user.
## STATIC_UID
Uid for the static user.
## STATIC_GID
Gid for the static user.
2021-09-28 13:55:15 +00:00
2016-10-31 17:53:00 +00:00
# Ports
2021-09-28 13:55:15 +00:00
- 2222