I think I once did something similar, but I did it with a shell script, and telnet, but it shouldn't be impossible though.
What I did was, making the shell script echo my commands, I just piped it into telnet, like ./shellscript.sh | telnet
Worked like a charm.
You could then make a list of ip/hostnames, and do a for a in `cat list`; do ./shellscript.sh| telnet $a done;
But I'm not sure that's what you're looking for?
Last edited by WolfAngel; 12-18-2007 at 02:18 AM.