[pisa-src] r1085 - trunk/tools

  • From: René Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Fri, 09 Oct 2009 21:41:07 +0200

Author: hummen
Date: Fri Oct  9 21:41:07 2009
New Revision: 1085

Log:
script now states workaround for password-based authentication

Modified:
   trunk/tools/autoupdater.sh

Modified: trunk/tools/autoupdater.sh
==============================================================================
--- trunk/tools/autoupdater.sh  Fri Oct  9 18:40:24 2009        (r1084)
+++ trunk/tools/autoupdater.sh  Fri Oct  9 21:41:07 2009        (r1085)
@@ -61,14 +61,21 @@
 
 # check for ssh public key
 if [ "$PK" = "" ] || [ ! -e "$HOME/.ssh/$PK" ]; then
-    echo "No public key found. This will be a real pain in the a**!!!"
+    echo "No public key found. Hopefully you have ssh agent-forwarding \
+enabled. Otherwise, you will be asked for your login password for each \
+file to be copied."
+    echo "As a workaround enable ssh multiplexing in your local \
+.ssh/ssh_config:"
+    echo "Host "$SERVER
+    echo "  ControlMaster auto"
+    echo "  ControlPath ~/.ssh/master-%r@%h:%p"
 else
        echo "public key found: "$PK;
        PK_OPTION="-i "$PK
 fi
 
 # Get files
-#scp $PK_OPTION $REMOTE_FILES $LOCAL_DIR
+scp $PK_OPTION $REMOTE_FILES $LOCAL_DIR
 
 # Further instructions
 echo "done."

Other related posts:

  • » [pisa-src] r1085 - trunk/tools - René Hummen