Created
May 4, 2020 15:22
-
-
Save tongphe/9b02a9265f4d5300db3e2d4e4602b30b to your computer and use it in GitHub Desktop.
Hass secure ssh server config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Port 57749 | |
PubkeyAuthentication yes | |
PasswordAuthentication no | |
PermitEmptyPasswords no | |
PermitRootLogin no | |
MaxAuthTries 5 | |
ClientAliveInterval 900 | |
ClientAliveCountMax 3 | |
AllowUsers [email protected]/24 [email protected] [email protected]/24 | |
Match address 192.168.1.0/24 | |
PasswordAuthentication yes | |
PermitRootLogin yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment