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}"