repo/example/images/rsync-ssh/root/home/ssh/sshd_config.template
Daniel Berteaud e2fb9fc75d Store authorized_keys in /config
As sshd refused to use /tmp because it has too open permissions
2024-02-28 13:59:01 +01:00

14 lines
344 B
Plaintext

LogLevel ${SSHD_LOG_LEVEL}
Port ${SSHD_PORT}
HostKey /config/ssh_host_rsa_key
HostKey /config/ssh_host_ecdsa_key
HostKey /config/ssh_host_ed25519_key
PermitRootLogin no
AuthorizedKeysFile /config/authorized_keys
PasswordAuthentication no
AllowTcpForwarding no
GatewayPorts no
X11Forwarding no
PidFile /tmp/sshd.pid
Subsystem sftp internal-sftp