Skip to content

Commit

Permalink
Merge pull request #2688 from thomasjacquin/check_allsky.sh-warn-if-F…
Browse files Browse the repository at this point in the history
…TP-protocol-is-used

check_allsky.sh: warn if FTP protocol is used
  • Loading branch information
EricClaeys authored May 24, 2023
2 parents 49358b8 + 65cb4b7 commit cf31bb5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/check_allsky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cf31bb5

Please sign in to comment.