From 65cb4b786072557b22b6c0afd94c4abd09671293 Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Wed, 24 May 2023 03:25:22 -0500 Subject: [PATCH] check_allsky.sh: warn if FTP protocol is used --- scripts/check_allsky.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/check_allsky.sh b/scripts/check_allsky.sh index 71eb336d5..b131ebe07 100755 --- a/scripts/check_allsky.sh +++ b/scripts/check_allsky.sh @@ -502,6 +502,10 @@ case "${PROTOCOL}" in check_PROTOCOL "${PROTOCOL}" "REMOTE_HOST" check_PROTOCOL "${PROTOCOL}" "REMOTE_USER" check_PROTOCOL "${PROTOCOL}" "REMOTE_PASSWORD" + if [[ ${PROTOCOL} == "ftp" ]]; then + heading "Warnings" + echo "PROTOCOL set to insecure 'ftp'. Try to use 'ftps' or 'sftp' instead." + fi ;; scp)