From 708bb6c1a1dce5985e297db51b0487ccd96071dd Mon Sep 17 00:00:00 2001 From: Zoey Date: Sun, 24 Mar 2024 17:19:26 +0100 Subject: [PATCH] Create sshd_config Signed-off-by: Zoey --- sshd_config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sshd_config diff --git a/sshd_config b/sshd_config new file mode 100644 index 0000000..56e6a8f --- /dev/null +++ b/sshd_config @@ -0,0 +1,16 @@ +Port 22 +UsePAM no +MaxSessions 1 +MaxAuthTries 1 +AllowUsers jenkins +PermitRootLogin no +GSSAPIAuthentication no +PermitEmptyPasswords no +PubkeyAuthentication yes +PasswordAuthentication no +Subsystem sftp internal-sftp +Ciphers aes256-gcm@openssh.com +AuthenticationMethods publickey +KexAlgorithms ecdh-sha2-nistp521 +ChallengeResponseAuthentication no +AuthorizedKeysFile .ssh/authorized_keys