Disabling ssh interactiveness causing bugs.

This commit is contained in:
Adsooi 2022-07-31 14:24:32 +02:00
parent fdc09b75f7
commit dfe151312f
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -75,7 +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 -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 rm tmp.sh
else else
box "Skipping ${host}..." box "Skipping ${host}..."