First I’d like to thank Redstone for making Vine Server freely available. It’s great for connecting to a machine as a ‘background’ user while someone else is at the screen.
I’m wanting to connect Leopard’s Screen Sharing app to Vine Server over a secure connection (I assume it’s not secure by default as Screen Sharing comes up with a warning). I’m not using the default ports for additional security (and got tired of seeing SSH hacking attempts in the log).
Feel free to point me to an answer, I’ve searched and not been able to find a working solution.
Setup
- Vine Server 3.0 is running on my Leopard 10.5.2 server (port 5900)
- the firewall has been configured
- the router is mapping 64022 to 22 and 69900 to 5900
Test
- I can connect to my server with vnc://x.y.z:69900 (with security warning)
- I can SSH to my server with ssh -p 64022 x.y.z (no signin required, I’ve set up keys)
But
- I run ssh -p 64022 -L 69900:localhost:69900 x.y.z
- I also tried running ssh -p 64022 x.y.z in a second terminal window for good measure
Both commands execute fine, but when I try to connect to vnc://localhost:69900 Screen Sharing says ‘Connection failed to “localhost”’ and the terminal window from (1) reports ‘channel 3: open failed: connect failed: Connection refused’
What have I missed?
Thanks.