aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-05-28 22:06:15 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-05-28 22:06:15 +0200
commitf602514603187dbf7195c16d82c693536c1df3be (patch)
tree1430630d8290ac9a9612b9af994c2a9342eb46f1
parent9199eb1dbba77566b6cc54abe93344c308d9c8e7 (diff)
downloadltask-f602514603187dbf7195c16d82c693536c1df3be.tar.gz
asd
-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