aboutsummaryrefslogtreecommitdiffstats
path: root/data/qtip_creds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/qtip_creds.sh')
-rwxr-xr-xdata/qtip_creds.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/qtip_creds.sh b/data/qtip_creds.sh
index e2619d64..085e3a60 100755
--- a/data/qtip_creds.sh
+++ b/data/qtip_creds.sh
@@ -16,8 +16,8 @@ case "$INSTALLER_TYPE" in
*)
echo "Unkown installer $INSTALLER_TYPE specified";;
esac
-
+echo $PWD
sshoptions="-o StrictHostKeyChecking=no"
-sshpass -p $PSWD scp $sshoptions QtipKey.pub root@$INSTALLER_IP:/root
+sshpass -p $PSWD scp $sshoptions ./data/QtipKey.pub root@$INSTALLER_IP:/root
sshpass -p $PSWD ssh $sshoptions root@$INSTALLER_IP "ssh-copy-id -i /root/QtipKey.pub root@$DEST_IP && rm -rf /root/QtipKey.pub"