changeset 1242:73003ad27518

Use public key auth rather than trying to make passowrd auth work in a script
author Michael Pavone <pavone@retrodev.com>
date Sun, 26 Feb 2017 20:21:52 -0800
parents 23a2cf9782a7
children 50700d370a33
files build_upload_nightly
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build_upload_nightly	Sun Feb 26 19:51:05 2017 -0800
+++ b/build_upload_nightly	Sun Feb 26 20:21:52 2017 -0800
@@ -16,4 +16,4 @@
 lxc-stop -n "$CONTAINER_NAME"
 . $HOME/remote.params
 artifact=$(tail -n 1 /tmp/build_${name}_out.log)
-echo $REMOTE_PASS | scp "$HOME/.local/share/lxc/$CONTAINER_NAME/rootfs/home/$BUILD_USER/blastem/$artifact" $REMOTE_USER@$REMOTE_HOST:/home/$REMOTE_USER/nightlies
+scp -i "$REMOTE_IDENT" "$HOME/.local/share/lxc/$CONTAINER_NAME/rootfs/home/$BUILD_USER/blastem/$artifact" $REMOTE_USER@$REMOTE_HOST:/home/$REMOTE_USER/nightlies