diff options
| -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 + |
