From a0122ad2fc990a11505566e1db0f0692db8c5d2a Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Fri, 17 Jul 2026 13:01:38 -0500 Subject: ssh settings on debian server --- ssh/sshd_config | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'ssh/sshd_config') diff --git a/ssh/sshd_config b/ssh/sshd_config index b054ffb..80f3127 100644 --- a/ssh/sshd_config +++ b/ssh/sshd_config @@ -1,10 +1,12 @@ -Port 512 -ListenAddress 0.0.0.0 +Include /etc/ssh/sshd_config.d/*.conf +KbdInteractiveAuthentication no +UsePAM yes +X11Forwarding no +PrintMotd no +AcceptEnv LANG LC_* +Subsystem sftp /usr/lib/openssh/sftp-server PasswordAuthentication no -ChallengeResponseAuthentication no PermitRootLogin no PermitEmptyPasswords no PubkeyAuthentication yes -UsePAM yes -Subsystem sftp /usr/lib/ssh/sftp-server AllowUsers brad git -- cgit v1.2.3