Displaying 1 result from an estimated 1 matches for "some_delay".
2005 May 02
2
forwarding stdin/out to remote socket
Hi!
Some vnc clients has '-via ssh_gateway' option to simplify the setup
of ssh port forwarding. Basically the option implements the following
3 steps:
1. Find local port available for listening.
2. Fork/exec ssh -L found_port:vnc_host:vnc_port ssh_gateway sleep some_delay
3. Connect to the found_port
Although convenient the setup has its problems. First, it exposes the
remote vnc port for everybody on the localhost for the duration of
some_delay. Second it can cause connection at step 3 to fail if it
would take a long time for ssh to setup the forwarding.
Now al...