Change behavior of adding lines to sshd config

* Replace existing lines in cases where a change has already been made
This commit is contained in:
William Wernert
2021-04-02 10:00:27 -04:00
parent 43c31b4e66
commit fd57996bc6
2 changed files with 12 additions and 10 deletions

View File

@@ -906,7 +906,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
so-ssh-harden >> $setup_log 2>&1
if [[ $is_manager || $is_import ]]; then
set_progress_str 87 'Adding user to SOC'