diff --git a/ssh-checker.sh b/ssh-checker.sh index 5b1b349..fffe98d 100755 --- a/ssh-checker.sh +++ b/ssh-checker.sh @@ -16,7 +16,7 @@ source "$CURDIR"/config.cfg if [ ! -e "${HOSTS}" ]; then echo "Missing hosts file. Please set a correct value of HOSTS= in your config file. Current value: ${HOSTS}"; exit 1; fi if [ ! -z "${SSH_KEY}" ]; then - SSH_KEY_ARG="-i ${SSHKEY}" + SSH_KEY_ARG="-i ${SSH_KEY}" else # defaults SSH_KEY_ARG="" diff --git a/uberspace-backup.sh b/uberspace-backup.sh index 70d8286..d03c488 100755 --- a/uberspace-backup.sh +++ b/uberspace-backup.sh @@ -16,7 +16,7 @@ source "$CURDIR"/config.cfg if [ ! -e "${HOSTS}" ]; then echo "Missing hosts file. Please set a correct value of HOSTS= in your config file. Current value: ${HOSTS}"; exit 1; fi if [ ! -z "${SSH_KEY}" ]; then - SSH_KEY_ARG="-i ${SSHKEY}" + SSH_KEY_ARG="-i ${SSH_KEY}" else # defaults SSH_KEY_ARG=""