in reply to Get into the server and execute perl command
The easiest way is to set up ssh port forwarding and run something like
ssh -L 3456:localhost:5678 that.other.machine
Then, your local port machineA:3456 will be connected to the (localhost) port 5678 on machineB, and you can just use LWP::Simple to fetch http://localhost_3456 and get data from http://localhost:5678 on machineB.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Get into the server and execute perl command
by Anonymous Monk on Feb 25, 2015 at 06:07 UTC | |
by Corion (Patriarch) on Feb 25, 2015 at 07:57 UTC |