LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2012, 12:25 PM   #1
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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.
 
Old 08-16-2012, 08:11 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reverse Tunneling / Reverse port forwarding in SSH dynamics Linux - Networking 5 02-07-2017 08:19 AM
Reverse,Port Forwarding via SSH and connecting from two different location metallica1973 Linux - Networking 2 12-20-2008 05:42 PM
reverse ssh? slashcom Linux - Software 3 08-12-2004 11:51 PM
Reverse IP forwarding Help!! :) carrellc Linux - Networking 3 03-11-2004 02:26 AM
Help:) !! - Reverse IP forwarding carrellc Linux - Wireless Networking 1 03-09-2004 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration