mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-01-03 02:50:47 -05:00
user-based whitelist for ssh access
This commit is contained in:
parent
9f82fe54bd
commit
f1005cf339
@ -37,6 +37,8 @@ LoginGraceTime 15s
|
|||||||
MaxAuthTries 2
|
MaxAuthTries 2
|
||||||
#MaxSessions 10
|
#MaxSessions 10
|
||||||
|
|
||||||
|
AllowUsers {{ssh_users}}
|
||||||
|
|
||||||
#PubkeyAuthentication yes
|
#PubkeyAuthentication yes
|
||||||
|
|
||||||
# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
|
# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
|
||||||
|
Loading…
Reference in New Issue
Block a user