Hmm, haven't tried something like this yet, but maybe you can create a pipe and send your program output in there?
- Connect to your iLiad over SSH (dropbear)
- mkfifo /tmp/fifo
- Send the output of your program to the pipe (e.g. in your run.sh script)
- do a "cat /tmp/fifo" on your ssh connection