No, you're missing the point. I want the xterm running on the local
machine, not the remote machine, so that it can use the tunnel set up by
the redirection; IOW on the same machine that starts the redirection.
--
Howard.
______________________________________________________
LANNet Computing Associates <http://www.lannet.com.au>
On Tue, 7 Nov 2000, John Ferlito wrote:
> > In the meantime I am looking at alternatives using a redirected ssh
> > session and I am trying to get the following script to work:
> >
> > #!/bin/sh
> > PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11
> > PORT=4104
> > ssh -x -L ${PORT}:cwsvr:${PORT} cwsvr
> > sleep 5
> > xterm -e telnet localhost ${PORT}
> >
> how about you just do
>
> ssh -x -L ${PORT}:cwsvr:${PORT} cwsvr xterm -e telnet localhost ${PORT}
>
> ie ssh treats anything on the command line after the remote machine as
> the remote process to run instead of the default shell
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug