added AllowUsers to tighten security
This commit is contained in:
parent
0af2e0c77c
commit
317900d3ca
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user