feat: add password clause to ssh config

This commit is contained in:
Strix 2023-11-06 17:37:46 +01:00
parent a805a13934
commit 1b6aa4229d
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -0,0 +1,8 @@
# Disable password authentication by default
PasswordAuthentication no
ChallengeResponseAuthentication no
# Only allow password authentication for internal networks
Match Address 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
PasswordAuthentication yes
ChallengeResponseAuthentication yes