so-ssh-harden fixes

* Change when script is run during setup
* Add newlines to sshd config for legibility
This commit is contained in:
William Wernert
2021-03-23 14:06:10 -04:00
parent 197693df4e
commit 23cd006724
3 changed files with 8 additions and 3 deletions

View File

@@ -888,6 +888,7 @@ set_redirect >> $setup_log 2>&1
set_progress_str 85 'Applying finishing touches'
filter_unused_nics >> $setup_log 2>&1
network_setup >> $setup_log 2>&1
so-ssh-harden -q >> $setup_log 2>&1
if [[ $is_manager || $is_import ]]; then
set_progress_str 87 'Adding user to SOC'