Re: VNC Through WinSSHD
From: Wilfried Hennings (nospam_at_fz-juelich.de)
Date: 08/27/03
- Next message: Thomas Binder: "Re: Two simple openssh questions..."
- Previous message: Christian: "Re: SSH, Putty and Mandrake 9.1"
- In reply to: bob: "Re: VNC Through WinSSHD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 27 Aug 2003 11:08:28 +0200
bobsmith10@hotmail.com (bob) wrote:
> >
> > So you don't know which port it uses? But you NEED to know the port
> > number for establishing the tunnel.
>
> Its easily changed to 5900 (or anything else)... np
>
> > (means local vnc viewer should connect to localhost, display x)
>
> How can I determine what the localhost address and display info is?
> Is it listed within VNC or WinSSHD program's?
When starting the local vnc viewer, you must enter the "remote" host
name or IP address and the screen number. However as you want to tunnel
it, you must connect to the local port which is supplied by tunnelier.
So for host name use "localhost" or "127.0.0.1" literally.
The local port number which you must specify in tunnelier is the result
of adding 5900 + the local screen number you set in the local vnc
viewer.
> > Destination host: remote.host
> > (insert correct name)
>
> Is this the same as one above? or can it just be (exactly) "localhost"
> per screenshop via bitvise?
For the remote end of the tunnel you specify either the real name or the
IP address of the remote host.
Maybe you also have to specify the username with which you are allowed
to log in to the remote host's ssh server (in the format
user@remotehost).
>
> > Dest. port: 590y
> > (for this to work, you must ensure that the remote VNC server serves diplay y)
>
> Again... how can I determine what the correct info is?
The correct info for the dest. port is the result of adding 5900 + the
screen number of the vnc server running on the remote host.
Example:
local vnc viewer connects to "localhost" and screen number (say) 1
common address for local vnc viewer and local end of tunnel is
"localhost" port 5901
tunnel connects "localhost:5901" to (say) "xyz.uvw.opq:5900"
common address for remote vnc server and remote end of tunnel is
"xyz.uvw.opq" port 5900
remote vnc server connects to "localhost" and screen number 0
Note that each the vnc server and the vnc viewer connect to "localhost"
because you want each to connect to the end of the tunnel which is local
to it.
-- email me: change "nospam" to "w.hennings" Dipl.-Ing.(=M.Sc.Eng.) Wilfried Hennings c./o. Forschungszentrum (Research Center) Juelich GmbH, MUT <http://www.fz-juelich.de/mut/index.php?index=3> All opinions mentioned are strictly my own, not my employer's.
- Next message: Thomas Binder: "Re: Two simple openssh questions..."
- Previous message: Christian: "Re: SSH, Putty and Mandrake 9.1"
- In reply to: bob: "Re: VNC Through WinSSHD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|