LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   reverse ssh with X forwarding (https://www.linuxquestions.org/questions/linux-newbie-8/reverse-ssh-with-x-forwarding-4175422432/)

lleb 08-16-2012 12:25 PM

reverse ssh with X forwarding
 
I have figured out how to get a reverse ssh connection established and how to use it to get back to the computer behind the firewall, now im trying to figure out how to get X-11 forwarding working as the "middle" computer does not even have a GUI installed.

my computer at work runs Fedora 17

Code:

cat /etc/issue
Fedora release 17 (Beefy Miracle)
Kernel \r on an \m (\l)

the middle computer is my web server running CentOS 5.x without a GUI installed as it is a true server. my only access to that box is ssh due to the location. not near me in a nice large data center.

I would like to know if I could set up the reverse ssh to allow X forwarding to my home (iMAC OSx 10.5) that runs X11, or to an other Fedora box I could configure if needed.

If the middle computer requires some type of GUI, then ill just not worry about it as I do not have access to an other computer to connect to and keep a sustained connection atm.

I have other issues that in the end I might have to jump through to get it setup at the house, but would rather not if I can avoid it. Just easier to keep an eye on it via my web server.

evo2 08-16-2012 08:11 PM

Hi,

you shouldn't have to do anything special with the tunnel (I'm assuming you're talking about an "ssh -R nnn:foo:22 bar" tunnel). The "middle" computer does not need X11. Are you using -X or -Y when connecting to the tunnel?

To get any real help I think you'll need be specific about what you have tried and what the results are.

Evo2.


All times are GMT -5. The time now is 04:18 PM.