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/chromeos-config | 2 -- ssh/config | 2 -- ssh/sshd_config | 12 +++++++----- 3 files changed, 7 insertions(+), 9 deletions(-) (limited to 'ssh') diff --git a/ssh/chromeos-config b/ssh/chromeos-config index b120a4e..8280f65 100644 --- a/ssh/chromeos-config +++ b/ssh/chromeos-config @@ -10,7 +10,6 @@ AddKeysToAgent yes Host b7j0c HostName b7j0c.org User brad - Port 512 IdentityFile ~/.ssh/id_ed25519 IdentitiesOnly yes SetEnv TERM=xterm-256color @@ -18,7 +17,6 @@ Host b7j0c Host b7j0c-git HostName b7j0c.org User git - Port 512 IdentityFile ~/.ssh/id_ed25519 IdentitiesOnly yes diff --git a/ssh/config b/ssh/config index 8f44024..5e3fbf6 100644 --- a/ssh/config +++ b/ssh/config @@ -10,7 +10,6 @@ AddKeysToAgent yes Host b7j0c HostName b7j0c.org User brad - Port 512 IdentityFile ~/.ssh/id_ed25519 IdentitiesOnly yes SetEnv TERM=xterm-256color @@ -18,7 +17,6 @@ Host b7j0c Host b7j0c-git HostName b7j0c.org User git - Port 512 IdentityFile ~/.ssh/id_ed25519 IdentitiesOnly yes 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