mirror of
https://github.com/casjaysdevdocker/gitea
synced 2025-09-18 15:57:47 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
35
rootfs/tmp/etc/ssh/sshd_config
Normal file
35
rootfs/tmp/etc/ssh/sshd_config
Normal file
@@ -0,0 +1,35 @@
|
||||
Port 7833
|
||||
Protocol 2
|
||||
|
||||
AddressFamily any
|
||||
ListenAddress 0.0.0.0
|
||||
ListenAddress ::
|
||||
|
||||
LogLevel INFO
|
||||
|
||||
HostKey REPLACE_SSH_CONF_DIR/ssh_host_ed25519_key
|
||||
HostKey REPLACE_SSH_CONF_DIR/ssh_host_rsa_key
|
||||
HostKey REPLACE_SSH_CONF_DIR/ssh_host_ecdsa_key
|
||||
|
||||
AuthorizedKeysFile REPLACE_SSH_DATA_DIR/authorized_keys
|
||||
AuthorizedPrincipalsFile REPLACE_SSH_DATA_DIR/authorized_principals
|
||||
TrustedUserCAKeys REPLACE_SSH_DATA_DIR/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
|
||||
|
||||
UseDNS no
|
||||
AllowAgentForwarding no
|
||||
AllowTcpForwarding no
|
||||
PrintMotd no
|
||||
|
||||
PermitUserEnvironment yes
|
||||
PermitRootLogin no
|
||||
ChallengeResponseAuthentication no
|
||||
PasswordAuthentication no
|
||||
PermitEmptyPasswords no
|
||||
|
||||
AllowUsers gitea
|
||||
|
||||
Banner none
|
||||
Subsystem sftp /usr/lib/ssh/sftp-server
|
||||
|
||||
AcceptEnv GIT_PROTOCOL
|
Reference in New Issue
Block a user