Hi everybody,

I'm trying to execute some commands in a remote host (a cisco router) using
rsh connection and I've problems for displaying the results.

For example if I do this:

$res = exec("rsh x.x.x.x -l username ping x.x.x.x);
echo "<pre> $res </pre>";

I cannot display the result of the ping made in the remote host.
any idea to fix that?
thank you in advance for your tips ...

fred

Frédéric MARTIN
Stagaire Service Exploitation
Email: [EMAIL PROTECTED]
-------------------------------------------------
VTX Services SA
Avenue de Lavaux, 101
CH-1009 PULLY
http://www.vtx.ch
-------------------------------------------------

Reply via email to