From 917f13d0e375e23f26b3051ab374c876f4f73cda Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 5 Apr 2024 16:29:05 +0200 Subject: [PATCH] Adding teletype option to ssh --- run_all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_all.sh b/run_all.sh index 1ac3abd..0de50c3 100755 --- a/run_all.sh +++ b/run_all.sh @@ -76,7 +76,7 @@ $full_script" echo "$full_script" | ssh -q $host -p $port "tee run.sh" 1>/dev/null info "Transmitted script" # Run and remove it. - ssh $host -p $port PASSWORD="$pswd" "bash run.sh && rm run.sh" + ssh -t $host -p $port PASSWORD="$pswd" "bash run.sh && rm run.sh" ## Interactive shell does not work. #ssh -t $host PASSWORD="$pswd" "bash -i run.sh && rm run.sh" rm tmp.sh