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