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:
Andrew Tomaka 2014-01-22 09:02:08 -05:00
parent 0cbfec9520
commit e719842645

View file

@ -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' }