Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

screen sharing and ssh tunnel

I'm trying to connect screen sharing to a server (S2) on my local network through a server(S1) on my local network with a static IP (local) and a static IP (public)

S1 is XServer G5 10.3.9 (dual nic)

S2 is Mountain Lion Server 10.8.2

Client: MBP ML 10.8.2


Client -> S1 -> S2


IP are for illustration

S1: Public 71.100.100.200

S1: Local 192.168.6.100

S2: Local 192.168.6.101


S1 Firewall rule: 01105 allow tcp from any to 192.168.6.0/24 5900


On client:

> ssh -L 5901:192.168.6.101:5900 71.100.100.200


connect to server vnc://192.168.6.101:5901

... no joy connection timeout - standard connection fail message for screen sharing.

10.8.2 Server-OTHER, OS X Mountain Lion (10.8.2)

Posted on Nov 27, 2012 8:55 AM

Reply
Question marked as Best reply

Posted on Nov 27, 2012 10:58 AM

I managed to find a slightly different tunnel command that does work.


ssh -t -L localhost:5901:S2:5900 S1


ssh -t -L localhost:5901:<private server>:5900 <public(dmz) server>


had to set screen sharing prerferences for adaptive quailty encryption of passworkd and keystroks only for the relatively slow connection.

1 reply
Question marked as Best reply

Nov 27, 2012 10:58 AM in response to Stephen Thomas2

I managed to find a slightly different tunnel command that does work.


ssh -t -L localhost:5901:S2:5900 S1


ssh -t -L localhost:5901:<private server>:5900 <public(dmz) server>


had to set screen sharing prerferences for adaptive quailty encryption of passworkd and keystroks only for the relatively slow connection.

screen sharing and ssh tunnel

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.