Skip to content

Commit

Permalink
when using tmate, need to avoid interactive prompt runing ssh test
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed Nov 5, 2023
1 parent d41089e commit 0492649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis/ssh_localhost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if [[ $(($check_wsl == "init" )) ]]; then
sudo service ssh start
fi

ssh localhost /bin/true
ssh -f -q -o BatchMode=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null localhost /bin/true
ssh_works=$?
if [ ${ssh_works} -gt 0 ]; then
echo "no ssh to localhost... must fix..."
Expand Down

0 comments on commit 0492649

Please sign in to comment.