added AllowUsers to tighten security
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user