45 lines
785 B
TOML
45 lines
785 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/servnest/ht"
|
|
external_auth_hook = "http://[::1]:8055/sftpgo-auth.php"
|
|
external_auth_scope = 1
|
|
naming_rules = 1
|
|
|
|
[data_provider.password_hashing]
|
|
algo = "argon2id"
|
|
|
|
[[httpd.bindings]]
|
|
port = 0
|