Tunneling VNC Over SSH to Ubuntu
ssh -NL 1234:laptopmac:5900 ubuntubox@my.public.ip.address
Then try to connect on the localhost port using Chicken of the VNC, I get this:
channel 2: open failed: administratively prohibited: open failed
I tried disabling the firewall on my Mac as well as Little Snitch. My Ubuntu desktop is connected to a router, but I did open and enable ports 22 and 5900. I have read through some other sites that say maybe I have to edit the ssh config file, but it doesn't seem clear if it applies in this case.
Another thing is that I'm able to connect using Screen Sharing over my own network when at the dorm. I also am able to connect with Chicken of the VNC over the local network. I just can't do this over the internet tunneled over ssh. I haven't tried without tunneling yet. I also tried to log into my administrator account and it was giving me the same error. I'm not sure if I tried logging in with sudo yet from the Mac terminal. I know that you can basically do the same thing with TeamViewer (on iPhone too). I plan on using that as well in the future, but I want to learn how to use this as well as tunnel with ssh.
MacBook Pro 17" 2.53 GHz Intel Core i5 4GB Ram 500GB HD Early 2010, Mac OS X (10.6.7), iPhone 3G S 32GB-Ubuntu PC 2.7 GHz AMD Athlon Dual Core, 500GB 7200RPM, 4GB RAM