diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2026-07-17 13:01:38 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2026-07-17 13:01:38 -0500 |
| commit | a0122ad2fc990a11505566e1db0f0692db8c5d2a (patch) | |
| tree | a348e666849d4c026eebeae2b6ea1eb8a39934a2 /ssh/sshd_config | |
| parent | 89525e2aa9bec0b1d6b8900045a429f99466b725 (diff) | |
ssh settings on debian server
Diffstat (limited to 'ssh/sshd_config')
| -rw-r--r-- | ssh/sshd_config | 12 |
1 files changed, 7 insertions, 5 deletions
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 |
