I have a Solaris 10 system at home with the SSH port open to a limited number of hosts including my static IP at work. I would like to access the VNC server on my Mac (running OS-X Tiger) from work through the Solaris SSH server but I haven't been able to do so. I have the forwarding option enabled on the Solaris system in /etc/ssh/sshd_config (AllowTcpForwarding & GatewayPorts are set to Yes). I'm using the following command to start forwarding:
ssh -L 5901:home.mac:5900 username@home.sparc
then run the vncviewer and point to to localhost::5901 but the ssh session returns:
channel 2: open failed: administratively prohibited: open failed
when I try to connect. What am I doing wrong?
I should add that port 22 is already being forwarded from the firewall's (with NAT) public IP to the sparc system with SNAT IP address. Could that be the problem?
Thanks!