Adding interactivity again, seeing why it wouldn't work?
This commit is contained in:
parent
dfe151312f
commit
0b3a551ed3
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ $full_script"
|
||||||
echo "$full_script" | ssh -q $host "tee run.sh" 1>/dev/null
|
echo "$full_script" | ssh -q $host "tee run.sh" 1>/dev/null
|
||||||
info "Transmitted script"
|
info "Transmitted script"
|
||||||
# Run and remove it.
|
# Run and remove it.
|
||||||
ssh $host PASSWORD="$pswd" "bash 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"
|
ssh -t $host PASSWORD="$pswd" "bash -i run.sh && rm run.sh"
|
||||||
rm tmp.sh
|
rm tmp.sh
|
||||||
else
|
else
|
||||||
box "Skipping ${host}..."
|
box "Skipping ${host}..."
|
||||||
|
|
Loading…
Reference in a new issue