added AllowUsers to tighten security

This commit is contained in:
Asif Bacchus 2019-03-29 13:58:57 -06:00
parent 0af2e0c77c
commit 317900d3ca

View File

@ -27,6 +27,9 @@ MaxAuthTries 3
MaxSessions 5 MaxSessions 5
#PermitRootLogin no #PermitRootLogin no
PermitRootLogin yes PermitRootLogin yes
# note: 'AllowUsers' overrides 'PermitRootLogin' so list root here
# if you want root to have access!
AllowUsers root username username2
### Program settings ### Program settings
#Banner /etc/ssh/banner #Banner /etc/ssh/banner