Cs-cam: As Isuck said on a different thread ([s]he cross-posted this question
, e.g., to http://www.linuxquestions.org/questi...php?p=2390748)
, the other computer is a router of som kind (busybox) and doesn't run an sshd.
Regarding Isuck's refusal of Agrouf's suggestion: You need tee
on your local machine NOT on the router. And you should have it; IMO it's a basic UNIX command.
Isuck: Turn to the US government, National Institute of Standards. Seriously, http://expect.nist.gov/
sounds just like what you were looking for:
Expect is a tool for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc. Expect really makes this stuff trivial
autoexpect telnet 192.168.10.1
once, and it will write a script for you. If necessary, you can edit it.
BTW, I think that was an accidental smilie in your 2:02 post today. You can disable them.