java and port forwarding
Fri Sep 26 15:12:01 2003
Mike Miller said:
> If I use ssh to forward port 5801 on my local machine to port 5801 on the
> vncserver machine and I also forward port 5901 on my local machine to port
> 5901 on the vncserver machine, can I enter this URL in my browser...
> ...I see my VNC session, and it works, but is it using an SSH tunnel?
> I'm not sure. I think the java applet will be sent over the secure
> channel (5801), but then will the applet try to connect to localhost:5901?
> I hope so because that would be really great.
> Thanks in advance for any clarification.
Works for me. The only port open to the VNC Server machine is the SSH port.
Your SSH client software should also have some logging that will tell you
when the tunnel is being opened and closed. Or you could take a network
trace and see if any ports other than the SSH port are being used.