Files

44 lines
993 B
Plaintext
Raw Permalink Normal View History

Port ${SSH_LISTEN_PORT}
2016-11-28 14:13:18 +01:00
Protocol 2
2015-10-02 10:56:36 +01:00
AddressFamily any
ListenAddress 0.0.0.0
ListenAddress ::
2016-11-28 14:13:18 +01:00
${SSH_MAX_STARTUPS}
${SSH_MAX_SESSIONS}
LogLevel ${SSH_LOG_LEVEL}
2016-11-28 14:13:18 +01:00
HostKey /data/ssh/ssh_host_ed25519_key
${SSH_ED25519_CERT}
2015-10-02 10:56:36 +01:00
HostKey /data/ssh/ssh_host_rsa_key
${SSH_RSA_CERT}
2015-10-02 10:56:36 +01:00
HostKey /data/ssh/ssh_host_ecdsa_key
${SSH_ECDSA_CERT}
2016-11-28 14:13:18 +01:00
AuthorizedKeysFile .ssh/authorized_keys
2020-10-11 02:38:09 +02:00
AuthorizedPrincipalsFile .ssh/authorized_principals
TrustedUserCAKeys /data/git/.ssh/gitea-trusted-user-ca-keys.pem
CASignatureAlgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa
2016-11-28 14:13:18 +01:00
UseDNS no
AllowAgentForwarding no
AllowTcpForwarding no
PrintMotd no
PermitUserEnvironment yes
2015-10-02 10:56:36 +01:00
PermitRootLogin no
2016-11-28 14:13:18 +01:00
ChallengeResponseAuthentication no
2015-10-02 10:56:36 +01:00
PasswordAuthentication no
2016-11-28 14:13:18 +01:00
PermitEmptyPasswords no
AllowUsers ${USER}
2016-11-28 14:13:18 +01:00
Banner none
Subsystem sftp /usr/lib/ssh/sftp-server
AcceptEnv GIT_PROTOCOL
${SSH_INCLUDE_FILE}