added AllowUsers to tighten security

This commit is contained in:
Asif Bacchus 2019-03-29 13:58:57 -06:00
parent 0af2e0c77c
commit 317900d3ca
1 changed files with 3 additions and 0 deletions

View File

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