diff --git a/scp-remote-to-local.sh b/scp-remote-to-local.sh index 52cd803..12dc35f 100644 --- a/scp-remote-to-local.sh +++ b/scp-remote-to-local.sh @@ -18,6 +18,7 @@ IFS=$'\n\t' cert=${1:-} component=${2:-} user=${3:-} +failed_access=() api="https://api.live.bbc.co.uk/cosmos/env/test/component/$component" if [ "$#" -ne 3 ]; then @@ -33,6 +34,10 @@ If you have any curl/cert issues try: If you have any parsing issues try: brew install jq + +If you have any issues with SCP then +make sure you've given your user SSH access via Cosmos. +This is something I'd like to automate via this script in future. EOF exit 1 @@ -46,7 +51,7 @@ data_len=$((${#data[@]} / 3)) # we know we'll always have a triad of data ->