I am trying to write a quick script that will establish an ssh tunnel to a
remote linux server that will let me run vncviewer on any machine behind that
machine.

I have this ...
system ( "ssh -g -C -L 5900:machinebehindserver:5900 remotelinuxserver" );
system ( "vncviewer localhost" );

of course this doesn't work because it tryes to run vncviewer localhost on the
ssh server rather then on my box. The commands run from terminal work fine. I
run the ssh command then i open another terminal and run the vncviewer.
Everything is groovy :)

TIA,

-- 
Paul D. Kraus
~=~=~=~=~=~=~=~=~=~=~=~=~
~ Network Administrator ~
~ PEL Supply Company    ~
~ 216.267.5775 Voice    ~
~ 216.267.6176 Fax      ~
~=~=~=~=~=~=~=~=~=~=~=~=~
~   www.pelsupply.com   ~
~=~=~=~=~=~=~=~=~=~=~=~=~

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to