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