Make cross-test-ssh.sh compatible with a remote POSIX sh