Skip to content

Commit

Permalink
Create sshd_config
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <zoey@z0ey.de>
  • Loading branch information
Zoey2936 authored Mar 24, 2024
1 parent 3b91be1 commit 708bb6c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions sshd_config
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 708bb6c

Please sign in to comment.