summaryrefslogtreecommitdiff
path: root/ssh/sshd_config
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2023-01-01 16:00:11 -0600
committerBrad Clawsie <brad@b7j0c.org>2023-01-01 16:00:11 -0600
commit7e74d1276af35040c57d76438382aa737d517aa8 (patch)
tree057ac252385485df6ad0c782dde9c6176d7d4d7b /ssh/sshd_config
parentab7ee2d3d7d9cf03b0eca5f23160b9a17d0dbad9 (diff)
ssh
Diffstat (limited to 'ssh/sshd_config')
-rw-r--r--ssh/sshd_config72
1 files changed, 63 insertions, 9 deletions
diff --git a/ssh/sshd_config b/ssh/sshd_config
index ba79aec..244b40f 100644
--- a/ssh/sshd_config
+++ b/ssh/sshd_config
@@ -1,9 +1,63 @@
-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
+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