From 293f0f28b57d1eb253e74a2e55af84c54931d006 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 17 Oct 2021 21:18:06 -0500 Subject: [PATCH] Added message to indicate that script is done --- SSH/Create-SSH-User.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SSH/Create-SSH-User.bash b/SSH/Create-SSH-User.bash index 13f2ec1..251354d 100755 --- a/SSH/Create-SSH-User.bash +++ b/SSH/Create-SSH-User.bash @@ -384,7 +384,6 @@ while IFS= read -r line; do fi done < "${SSH_CONFIG_FILE}" > "ssh_conf.temp" && mv "ssh_conf.temp" "${SSH_CONFIG_FILE}" -cat "${SSH_CONFIG_FILE}" shopt -u nocasematch if [[ "${wrote_new_data}" -eq "1" ]]; then @@ -424,3 +423,6 @@ if [[ "${SSH_RESULT}" -ne "0" ]]; then log "error" "Second set of SSH commands were unable to execute, ssh returned status code ${SSH_RESULT}" exit "${SSH_RESULT}" fi + + +log "info" "Finished, login to remote with ${ssh_user_to_create}@${ssh_host_name}"