From 67ac12c35374c3d0f9b66dceca1d9f9ac640df57 Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Thu, 16 Feb 2023 19:30:59 -0600 Subject: ssh --- ssh/dotsshconfig | 1 - ssh/sshd_config | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'ssh') 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 + -- cgit v1.2.3