chore: init
This commit is contained in:
s0k0l committed 2026-10-11 09:09:47 +00:00
commit 9301a3aa38
2 files changed
+222

No files matched your search

+46
View File
@@ -0,0 +1,46 @@
Include /etc/ssh/sshd_config.d/*.conf
Port {{PORT}}
AddressFamily inet
ListenAddress {{IP}}
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
# Logging
#SyslogFacility AUTH
#LogLevel INFO
# Authentication
LoginGraceTime 30
PermitRootLogin yes
StrictModes yes
MaxAuthTries 4
MaxSessions 10
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
KbdInteractiveAuthentication no
UsePAM yes
# Forwarding
AllowAgentForwarding no
AllowTcpForwarding yes
GatewayPorts yes
X11Forwarding no
PrintMotd no
# Keep-alive
ClientAliveInterval 60
ClientAliveCountMax 3
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server