Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

VNC through SSH forwarding

807557Jun 6 2006 — edited Jun 22 2006
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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2006
Added on Jun 6 2006
2 comments
316 views