ssh without -n or </dev/null will eat all input from the while read loop This stopped the tests in the test ssh connection to be run see man ssh for the -n option