Change default ssh port
Security through obscurity is generally questionable, but changing to a non-default port does reduce automated scans substantially. However, moving to a port outside of the privelaged scope (above 1024) may have other consequences.
This commit is contained in:
parent
0cbfec9520
commit
e719842645
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ class { 'ssh::server':
|
|||
class { 'apache': }
|
||||
|
||||
# CONFIGURATIONS
|
||||
ssh::server::configline { 'Port': value => '22984' }
|
||||
ssh::server::configline { 'PermitRootLogin': value => 'no' }
|
||||
ssh::server::configline { 'PasswordAuthentication': value => 'no' }
|
||||
ssh::server::configline { 'AllowUsers/1': value => 'atomaka' }
|
||||
|
|
Loading…
Reference in a new issue