in reply to perl ssh keystroke
I don't have a unix system to test with right now, but I do work with Windows often. It would be helpful to me if you could show how this does indeed work locally on the Windows box. If you can get the problem into: "hey, this works locally on Windows...example code..., now how can I do the same thing remotely from the unbuntu box? If it doesn't work locally, then typically that problem gets fixed first, then the remote problem from a different platform becomes easier to understand.