Vnc problem with port forwarding



Hi,
I could not connect to the vnc server through port forwaring . I have
a linux_server (on which sshd server is running) and vnc_server(vnc
server is running)

1. Run the vncserver on the vnc_server(In my case terminal four is
running its list).
2. Configure the linux_server /etc/ssh/sshd_config with "GatewayPorts
yes" then restart the sshd.
3. Configure the vncserver machine for remote listening with
ssh -R 5904:localhost:5900 linux_server .(My vnc_server is running on
the 5904 and i m executing command from the vnc_server )
4. Then i try to connect to the vnc_server with the linux_server .

But this is not working.

TIA
Niraj Kumar

.



Relevant Pages

  • Re: Why is it that ssh with X11 auth forwarding fails -sometimes- on FC[23]?
    ... > Is your FC3 system the ssh client or the ssh server? ... The FC3 host is the sshd server. ...
    (Fedora)
  • 4.9 doesnt answer.
    ... I have one FreeBSD 4.9-STABLE server, ... It is respones all ping request and I can change between consoles ... I can't login to the sshd server. ...
    (freebsd-stable)
  • Re: Keyphrase for the servers secret key
    ... > secret key with a key phrase. ... > sshd server also has a secret key. ... If a passphrase is used on a key, it has to be entered before it can be ...
    (comp.security.ssh)
  • Re: ssh hang on exit on SCO openserver 5.0.6
    ... > OpenServer 5.0.6 server. ... but when we login from another ... > unix box to sshd server, ...
    (comp.security.ssh)
  • Re: Setting Up DNS???
    ... In the router did you enabled port forwaring for port 53? ... You should set port forwaring for 53 for both TCP & UDP forwarding to the ... > I'm having problems setting up 2003 dns server. ...
    (microsoft.public.windows.server.dns)