41 lines
704 B
TOML
41 lines
704 B
TOML
|
[sftpd]
|
||
|
banner = "SFTPGo"
|
||
|
host_keys = [
|
||
|
"/etc/sftpgo/ed25519"
|
||
|
]
|
||
|
host_key_algorithms = [
|
||
|
"ssh-ed25519"
|
||
|
]
|
||
|
kex_algorithms = [
|
||
|
"curve25519-sha256",
|
||
|
"curve25519-sha256@libssh.org"
|
||
|
]
|
||
|
ciphers = [
|
||
|
"chacha20-poly1305@openssh.com",
|
||
|
"aes128-gcm@openssh.com",
|
||
|
"aes256-gcm@openssh.com"
|
||
|
]
|
||
|
macs = [
|
||
|
"hmac-sha2-256-etm@openssh.com",
|
||
|
"hmac-sha2-512-etm@openssh.com"
|
||
|
]
|
||
|
login_banner_file = "/etc/sftpgo/banner.txt"
|
||
|
enabled_ssh_commands = []
|
||
|
|
||
|
[[sftpd.bindings]]
|
||
|
port = 2022
|
||
|
address = "[::1]"
|
||
|
|
||
|
[[sftpd.bindings]]
|
||
|
port = 2022
|
||
|
address = "127.0.0.1"
|
||
|
|
||
|
[data_provider]
|
||
|
driver = "memory"
|
||
|
users_base_dir = "/srv/ht"
|
||
|
external_auth_hook = "/srv/php/niver/sftpgo-auth.php"
|
||
|
external_auth_scope = 0
|
||
|
|
||
|
[[httpd.bindings]]
|
||
|
port = 0
|