summaryrefslogtreecommitdiff
path: root/ssh
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2023-01-02 12:27:39 -0600
committerBrad Clawsie <brad@b7j0c.org>2023-01-02 12:27:39 -0600
commitb8516205cd92e22a9365e05d91335cba1670a70e (patch)
tree093b845f557c1a2f6c43a3c3f1b401ddafbc3e97 /ssh
parent9314ccd91898e0f896275126c4c9b5579ad649af (diff)
sshd_config
Diffstat (limited to 'ssh')
-rw-r--r--ssh/sshd_config72
1 files changed, 9 insertions, 63 deletions
diff --git a/ssh/sshd_config b/ssh/sshd_config
index 244b40f..ba79aec 100644
--- a/ssh/sshd_config
+++ b/ssh/sshd_config
@@ -1,63 +1,9 @@
-ConnectionAttempts 1
-FallBackToRsh no
-ForwardAgent yes
-ForwardX11 no
-StrictHostKeyChecking no
-KeepAlive yes
-
-Host b7j0c
- HostName b7j0c.org
- User brad
- Port 512
- IdentityFile ~/.ssh/id_ed25519_20230101
- IdentitiesOnly yes
-
-Host grokloc
- Hostname grokloc.com
- User brad
- Port 512
- IdentityFile ~/.ssh/grokloc_ed25519_20230101
- IdentitiesOnly yes
-
-Host arch0
- Hostname arch0
- User brad
- Port 22
-
-Host grokloc-grokloc
- HostName grokloc.com
- User brad
- Port 512
- IdentityFile ~/.ssh/grokloc_ed25519_20230101
- IdentitiesOnly yes
-
-Host gitea-grokloc
- HostName grokloc.com
- User git
- Port 512
- IdentityFile ~/.ssh/grokloc_ed25519_20230101
- IdentitiesOnly yes
-
-Host sr.ht-grokloc
- HostName git.sr.ht
- User git
- IdentityFile ~/.ssh/grokloc_ed25519_20230101
- IdentitiesOnly yes
-
-Host github-grokloc
- HostName github.com
- User git
- IdentityFile ~/.ssh/grokloc_ed25519_20230101
- IdentitiesOnly yes
-
-Host gitlab-grokloc
- HostName gitlab.com
- User git
- IdentityFile ~/.ssh/grokloc_ed25519_20230101
- IdentitiesOnly yes
-
-Host codeberg-grokloc
- HostName codeberg.org
- User git
- IdentityFile ~/.ssh/grokloc_ed25519_20230101
- IdentitiesOnly yes
+Port 512
+ListenAddress 0.0.0.0
+PasswordAuthentication no
+ChallengeResponseAuthentication no
+PermitRootLogin no
+PermitEmptyPasswords no
+UsePAM yes
+Subsystem sftp /usr/lib/openssh/sftp-server
+AllowUsers brad