Merge pull request #6956 from Security-Onion-Solutions/dougburks-patch-1

Fix typos in ssh_warning
This commit is contained in:
Doug Burks
2022-01-24 09:39:40 -05:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -1015,7 +1015,7 @@ else
echo "Post-installation steps have completed. Awaiting user input to clean up installer." >> $setup_log 2>&1 echo "Post-installation steps have completed. Awaiting user input to clean up installer." >> $setup_log 2>&1
whiptail_setup_complete whiptail_setup_complete
[[ $setup_type != 'iso' ]] && whitpail_ssh_warning [[ $setup_type != 'iso' ]] && whiptail_ssh_warning
fi fi
install_cleanup >> "$setup_log" 2>&1 install_cleanup >> "$setup_log" 2>&1

View File

@@ -1807,13 +1807,13 @@ whiptail_ssh_key_copy_notice() {
whiptail_check_exitstatus $exitstatus whiptail_check_exitstatus $exitstatus
} }
whitpail_ssh_warning() { whiptail_ssh_warning() {
[ -n "$TESTING" ] && return [ -n "$TESTING" ] && return
local msg local msg
read -r -d '' msg <<- EOM read -r -d '' msg <<- EOM
NOTE: You will recceive a warning upon SSH reconnect that the host key has changed. NOTE: You will receive a warning upon SSH reconnect that the host key has changed.
This is expected due to hardening of the OpenSSH server config. This is expected due to hardening of the OpenSSH server config.