summaryrefslogtreecommitdiff
path: root/ssh
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2026-07-17 13:01:38 -0500
committerBrad Clawsie <brad@b7j0c.org>2026-07-17 13:01:38 -0500
commita0122ad2fc990a11505566e1db0f0692db8c5d2a (patch)
treea348e666849d4c026eebeae2b6ea1eb8a39934a2 /ssh
parent89525e2aa9bec0b1d6b8900045a429f99466b725 (diff)
ssh settings on debian server
Diffstat (limited to 'ssh')
-rw-r--r--ssh/chromeos-config2
-rw-r--r--ssh/config2
-rw-r--r--ssh/sshd_config12
3 files changed, 7 insertions, 9 deletions
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