diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2023-02-16 19:30:59 -0600 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2023-02-16 19:30:59 -0600 |
| commit | 67ac12c35374c3d0f9b66dceca1d9f9ac640df57 (patch) | |
| tree | 88c11d3eb55feb1c3d1cd3315b909f46df52e2a4 | |
| parent | 85fc704faa4407c9a0e30d06aa3fb5e79be70a52 (diff) | |
ssh
| -rw-r--r-- | ssh/dotsshconfig | 1 | ||||
| -rw-r--r-- | ssh/sshd_config | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/ssh/dotsshconfig b/ssh/dotsshconfig index 0d14745..0787095 100644 --- a/ssh/dotsshconfig +++ b/ssh/dotsshconfig @@ -1,5 +1,4 @@ ConnectionAttempts 1 -FallBackToRsh no ForwardAgent yes ForwardX11 no StrictHostKeyChecking no diff --git a/ssh/sshd_config b/ssh/sshd_config index 73d7311..3dce6aa 100644 --- a/ssh/sshd_config +++ b/ssh/sshd_config @@ -1,11 +1,11 @@ -# Port 512 -# edit with -# systemctl edit sshd.socket +Port 22 ListenAddress 0.0.0.0 PasswordAuthentication no ChallengeResponseAuthentication no PermitRootLogin no PermitEmptyPasswords no +PubkeyAuthentication yes UsePAM yes -Subsystem sftp /usr/lib/openssh/sftp-server +Subsystem sftp /usr/lib/ssh/sftp-server AllowUsers brad + |
