gamache,
You assume that one can SSH to the host. In this case, shell access has been removed. Please don't take this the wrong way but I wouldn't have asked for an example of IPC::Open2 (even if it was the wrong way to do it) if that wasn't what I was interested in.