Files
alpine-customizable/sysconfig.toml
2026-02-01 22:21:59 +03:00

31 lines
442 B
TOML

[ general ]
packages = [
"openssh-server",
]
[ users.dmitry ]
password = "1234"
pubkeys = [
"the key",
"the second key",
]
[ users.nadia ]
password = "2345"
pubkeys = [
"the key2",
]
[groups.sftp-users]
users = ["dmitry"]
[configs."/etc/ssh/sshd_config.d/sftp.conf"]
body = """
Match group sftp-users
ChrootDirectory /chroot
ForceCommand internal-sftp
AllowTcpForwarding no
"""
permissions = 644
owner = "root:root"