code.gitea.io/gitea@v1.22.3/docker/root/etc/templates/sshd_config (about) 1 Port ${SSH_LISTEN_PORT} 2 Protocol 2 3 4 AddressFamily any 5 ListenAddress 0.0.0.0 6 ListenAddress :: 7 8 ${SSH_MAX_STARTUPS} 9 ${SSH_MAX_SESSIONS} 10 11 LogLevel ${SSH_LOG_LEVEL} 12 13 HostKey /data/ssh/ssh_host_ed25519_key 14 ${SSH_ED25519_CERT} 15 HostKey /data/ssh/ssh_host_rsa_key 16 ${SSH_RSA_CERT} 17 HostKey /data/ssh/ssh_host_ecdsa_key 18 ${SSH_ECDSA_CERT} 19 20 AuthorizedKeysFile .ssh/authorized_keys 21 AuthorizedPrincipalsFile .ssh/authorized_principals 22 TrustedUserCAKeys /data/git/.ssh/gitea-trusted-user-ca-keys.pem 23 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 24 25 UseDNS no 26 AllowAgentForwarding no 27 AllowTcpForwarding no 28 PrintMotd no 29 30 PermitUserEnvironment yes 31 PermitRootLogin no 32 ChallengeResponseAuthentication no 33 PasswordAuthentication no 34 PermitEmptyPasswords no 35 36 AllowUsers ${USER} 37 38 Banner none 39 Subsystem sftp /usr/lib/ssh/sftp-server 40 41 AcceptEnv GIT_PROTOCOL 42 43 ${SSH_INCLUDE_FILE}