Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
feat: some ssh hardening
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz authored Jul 27, 2023
1 parent 64ae983 commit 74e3707
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/post/ubuntu-session-gdm.sh

This file was deleted.

3 changes: 3 additions & 0 deletions usr/etc/ssh/ssh_config.d/60-harden.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ServerAliveInterval 60
ServerAliveCountMax 10
TCPKeepAlive no
5 changes: 5 additions & 0 deletions usr/etc/ssh/sshd_config.d/60-harden.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
LoginGraceTime 15s
MaxAuthTries 3
AllowAgentForwarding no
PrintMotd yes
TCPKeepAlive no

0 comments on commit 74e3707

Please sign in to comment.