Re: ssh tunneling and "channel 2: open failed: administratively prohibited: open failed"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Cohler <mike.cohler <at> gmail.com> writes:

> 1) From machine A do "ssh -L 12345:C:5900 B" (where B and C are your machine
> names in question) 
> in a first terminal window.
> 
> This allows an ssh login from A to machine B where the firewall is, but once
> connected is set up to forward in this case port 12345 from the originating
> machine A to port 5900 on machine C. Once connected to machine B, then login to
> machine C on the standard ssh port. Now the tunnel should be set up with the
> correct port forwarding that you want - in this case anything going to poert
> 12345 on machine A will be forwarded through to 5900 on machine C which is the
> standard vnc port.
> 
> 2) Once this is running then start the vnc connection command in a second
> terminal session on machine A going to port 12345, and this will then have the
> vnc command running and communicating to port 5900 (default) on machine C via
> the tunnel.

I should add that if you want to tunnel a different application than vnc then
the port number on the final machine should be the port for the application you
want to run and use its default port or change it to one of your own choice.



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux