Disabling ssh interactiveness causing bugs.
This commit is contained in:
parent
fdc09b75f7
commit
dfe151312f
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@ $full_script"
|
|||
echo "$full_script" | ssh -q $host "tee run.sh" 1>/dev/null
|
||||
info "Transmitted script"
|
||||
# Run and remove it.
|
||||
ssh -t $host PASSWORD="$pswd" "bash -i run.sh && rm run.sh"
|
||||
ssh $host PASSWORD="$pswd" "bash run.sh && rm run.sh"
|
||||
#ssh -t $host PASSWORD="$pswd" "bash -i run.sh && rm run.sh"
|
||||
rm tmp.sh
|
||||
else
|
||||
box "Skipping ${host}..."
|
||||
|
|
Loading…
Reference in a new issue