File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -694,11 +694,16 @@ rm -f /usr/sbin/policy-rc.d
694694# Configure system #
695695# ----------------------------------------------------------#
696696
697- # Enable SSH password auth
697+ # Enable SSH password authentication
698698sed -i " s/rdAuthentication no/rdAuthentication yes/g" /etc/ssh/sshd_config
699+
700+ # Disable SSH suffix broadcast
701+ echo ' ' >> /etc/ssh/sshd_config
702+ echo ' DebianBanner no' >> /etc/ssh/sshd_config
703+
699704service ssh restart
700705
701- # Disable awstats cron
706+ # Disable AWStats cron
702707rm -f /etc/cron.d/awstats
703708
704709# Set directory color
Original file line number Diff line number Diff line change @@ -674,11 +674,16 @@ rm -f /usr/sbin/policy-rc.d
674674# Configure system #
675675# ----------------------------------------------------------#
676676
677- # Enabling SSH password auth
677+ # Enable SSH password authentication
678678sed -i " s/rdAuthentication no/rdAuthentication yes/g" /etc/ssh/sshd_config
679+
680+ # Disable SSH suffix broadcast
681+ echo ' ' >> /etc/ssh/sshd_config
682+ echo ' DebianBanner no' >> /etc/ssh/sshd_config
683+
679684service ssh restart
680685
681- # Disabling AWStats cron
686+ # Disable AWStats cron
682687rm -f /etc/cron.d/awstats
683688
684689# Set directory color
You can’t perform that action at this time.
0 commit comments