aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xltask2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltask b/ltask
index c349ec9..dcda84f 100755
--- a/ltask
+++ b/ltask
@@ -119,6 +119,6 @@ for hoststring in "${HOSTS_UNIQUE[@]}"; do
echo "<=== $hostname ===>"
echo
- [ ${#FILES[@]} -gt 0 ] && scp -i ${SSH_IDENTITY_FILE:=~/.ssh/id_rsa} -P ${port:=22} ${FILES[@]} ${SSH_USER:=$USER}@$hostname:
+ [ ${#FILES[@]} -gt 0 ] && scp -o NumberOfPasswordPrompts=0 -o StrictHostKeyChecking=no -S "$SSH" -i ${SSH_IDENTITY_FILE:=~/.ssh/id_rsa} -P ${port:=22} ${FILES[@]} ${SSH_USER:=$USER}@$hostname:
$TOOL_DIR/rexec.sh $rexecargs
done