diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2023-01-02 12:27:39 -0600 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2023-01-02 12:27:39 -0600 |
| commit | b8516205cd92e22a9365e05d91335cba1670a70e (patch) | |
| tree | 093b845f557c1a2f6c43a3c3f1b401ddafbc3e97 | |
| parent | 9314ccd91898e0f896275126c4c9b5579ad649af (diff) | |
sshd_config
| -rw-r--r-- | ssh/sshd_config | 72 |
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 |
