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