force VNC over SSH?

Report your issues here

force VNC over SSH?

Postby t-bo » Sat Jun 04, 2011 2:53 am

Hi,

It is possible to force only a VNC connection over SSH only? If someone try to connect via VNC (not over SSH) he got denied access.

I'm using Mac OS X Snow Leopard, & last version of Remoter VNC on Ipad 2.

Thank you, & Thanks for this magnific app' ;)
t-bo
 
Posts: 6
Joined: Sat Jun 04, 2011 2:51 am

Re: force VNC over SSH?

Postby raf » Sat Jun 04, 2011 10:56 pm

If you're connecting from outside of your LAN, all you need to do is not setup port forwarding for VNC (5900), only do it for SSH (port 22).

Hope that helps,

Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: force VNC over SSH?

Postby t-bo » Sun Jun 05, 2011 10:19 am

ok thanks
t-bo
 
Posts: 6
Joined: Sat Jun 04, 2011 2:51 am

Re: force VNC over SSH?

Postby t-bo » Tue Jun 07, 2011 3:45 am

I tried but it doesn't work, as long as he need the VNC port to be open, even in VNC over SSH wich is logic.

VNC = 5900 only
but VNC over SSH = 5900 + 22 to be open.
t-bo
 
Posts: 6
Joined: Sat Jun 04, 2011 2:51 am

Re: force VNC over SSH?

Postby raf » Tue Jun 07, 2011 9:03 am

VNC only: Requires port 5900 to be open

VNC over SSH : Requires only port 22. Port 5900 is not needed. I personally use this all the time, and I don't have port 5900 port-forwarded.
The way it works is that Remoter opens a tunnel inside the SSH connection to talk to VNC, so all traffic goes through the SSH port.

Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: force VNC over SSH?

Postby t-bo » Wed Jun 08, 2011 3:53 am

Nope it doesn't work... If I don't forward 5900

It freezes on "Connecting to VNC..." and I'm in 'VNC over SSH".
t-bo
 
Posts: 6
Joined: Sat Jun 04, 2011 2:51 am

Re: force VNC over SSH?

Postby raf » Wed Jun 08, 2011 8:46 am

t-bo wrote:Nope it doesn't work... If I don't forward 5900

It freezes on "Connecting to VNC..." and I'm in 'VNC over SSH".


That shouldn't happen; I'll DM you with some instructions so we can debug this a bit more.

Thanks,

Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: force VNC over SSH?

Postby raf » Wed Jun 08, 2011 5:27 pm

OK, t-bo were able to identify the issue, and correct it. Here's the main point from our offline conversation:

raf: If your SSH and VNC server are the same machine, you can try specifying localhost for the VNC in Remoter.

t-bo: Yes they are on the same machine, so I specified "localhost" for the VNC it works fine :) Yeah :) Maybe you should add a note for other users?
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: force VNC over SSH?

Postby raf » Wed Jun 08, 2011 5:27 pm

OK, t-bo and I were able to identify the issue, and correct it. Here's the main point from our offline conversation:

raf: If your SSH and VNC server are the same machine, you can try specifying localhost for the VNC in Remoter.

t-bo: Yes they are on the same machine, so I specified "localhost" for the VNC it works fine :) Yeah :) Maybe you should add a note for other users?
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am


Return to Support

Who is online

Users browsing this forum: No registered users and 28 guests

cron
cron