2019-10-12 09:45:00 -06:00
|
|
|
Port ${SSH_LISTEN_PORT}
|
2016-11-28 06:13:18 -07:00
|
|
|
Protocol 2
|
|
|
|
|
2015-10-02 03:56:36 -06:00
|
|
|
AddressFamily any
|
|
|
|
ListenAddress 0.0.0.0
|
|
|
|
ListenAddress ::
|
2016-11-28 06:13:18 -07:00
|
|
|
|
2021-06-01 13:55:17 -06:00
|
|
|
${SSH_MAX_STARTUPS}
|
|
|
|
${SSH_MAX_SESSIONS}
|
2021-05-31 19:33:50 -06:00
|
|
|
|
2022-03-30 21:15:36 -06:00
|
|
|
LogLevel ${SSH_LOG_LEVEL}
|
2016-11-28 06:13:18 -07:00
|
|
|
|
|
|
|
HostKey /data/ssh/ssh_host_ed25519_key
|
2021-05-13 06:11:28 -06:00
|
|
|
${SSH_ED25519_CERT}
|
2015-10-02 03:56:36 -06:00
|
|
|
HostKey /data/ssh/ssh_host_rsa_key
|
2021-05-13 06:11:28 -06:00
|
|
|
${SSH_RSA_CERT}
|
2015-10-02 03:56:36 -06:00
|
|
|
HostKey /data/ssh/ssh_host_ecdsa_key
|
2021-05-13 06:11:28 -06:00
|
|
|
${SSH_ECDSA_CERT}
|
2020-10-09 00:52:57 -06:00
|
|
|
HostKey /data/ssh/ssh_host_dsa_key
|
2021-05-13 06:11:28 -06:00
|
|
|
${SSH_DSA_CERT}
|
2016-11-28 06:13:18 -07:00
|
|
|
|
|
|
|
AuthorizedKeysFile .ssh/authorized_keys
|
2020-10-10 18:38:09 -06: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 06:13:18 -07:00
|
|
|
|
|
|
|
UseDNS no
|
|
|
|
AllowAgentForwarding no
|
|
|
|
AllowTcpForwarding no
|
|
|
|
PrintMotd no
|
|
|
|
|
|
|
|
PermitUserEnvironment yes
|
2015-10-02 03:56:36 -06:00
|
|
|
PermitRootLogin no
|
2016-11-28 06:13:18 -07:00
|
|
|
ChallengeResponseAuthentication no
|
2015-10-02 03:56:36 -06:00
|
|
|
PasswordAuthentication no
|
2016-11-28 06:13:18 -07:00
|
|
|
PermitEmptyPasswords no
|
|
|
|
|
2019-09-05 14:20:55 -06:00
|
|
|
AllowUsers ${USER}
|
2016-11-28 06:13:18 -07:00
|
|
|
|
|
|
|
Banner none
|
|
|
|
Subsystem sftp /usr/lib/ssh/sftp-server
|
2018-12-11 10:20:04 -07:00
|
|
|
|
2019-10-12 09:45:00 -06:00
|
|
|
AcceptEnv GIT_PROTOCOL
|
2022-05-31 12:42:19 -06:00
|
|
|
|
|
|
|
${SSH_INCLUDE_FILE}
|