From 7e74d1276af35040c57d76438382aa737d517aa8 Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Sun, 1 Jan 2023 16:00:11 -0600 Subject: ssh --- ssh/sshd_config | 72 +++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 63 insertions(+), 9 deletions(-) (limited to 'ssh/sshd_config') 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 -- cgit v1.2.3