vnc over ssh with non conventional ports

William Hooper whooper "at" freeshell.org
Wed Oct 26 17:09:02 2005


Fernando Sfeir wrote:
> Hi, i have a little question and try to find information but (aparently)
> none functions for me.
>
> Normally, invoke vncviewer like this:
> vncviewer -via GATEWAY -bgr233 COMPUTER:0
>
> But, in a particular server, i got some restrictions, (only have a few
> port redirections, 40000-40005). How i can invoke vncviewer to tell it the
> port of the conection of ssh (something like the "-p" in ssh).

It looks like you are using TightVNC (since you have the -via option). 
Look at the "ENVIRONMENT" section of the man page.

http://tightvnc.org/vncviewer.1.html

-- 
William Hooper