48 lines
840 B
TOML
Executable file
48 lines
840 B
TOML
Executable file
[common]
|
|
umask = "022"
|
|
server_version = "short"
|
|
|
|
[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]]
|
|
address = "[::]"
|
|
port = 42022
|
|
|
|
#[[sftpd.bindings]]
|
|
#address = "0.0.0.0"
|
|
#port = 42022
|
|
|
|
[data_provider]
|
|
driver = "memory"
|
|
users_base_dir = "/srv/servnest/ht"
|
|
external_auth_hook = "http://10.5.0.56:8055/sftpgo-auth.php"
|
|
external_auth_scope = 3
|
|
naming_rules = 1
|
|
|
|
[data_provider.password_hashing]
|
|
algo = "argon2id"
|
|
|
|
[[httpd.bindings]]
|
|
port = 0
|