LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-09-2005, 04:31 PM   #1
BoarderX
LQ Newbie
 
Registered: Jul 2004
Posts: 25

Rep: Reputation: 15
GUI through serial connection?


I am working on a solution for remote administration of an very secure and isolated network. I had built a stripped down linux box that is remotely accessible through some very stringent access controls and then attached a serial cable from that box to a box on the secured network. With this solution I am able to connect to the external box and then connect to the box on the secured network via minicom and have basic command line access to the box on that network.

Right now I'm trying to kick it up a notch and find a solution so that I may access GUI tools on the box located on the secured network via the serial connection. I did a little digging but didn't come up with any luck.. I was thinking along the lines of finding a way to ssh through the serial connection and then tunnel X through the ssh connection. Is that possible? Any recommendations?

Thanks!
 
Old 09-09-2005, 04:42 PM   #2
BoarderX
LQ Newbie
 
Registered: Jul 2004
Posts: 25

Original Poster
Rep: Reputation: 15
i think i just thought of a solution... dont know why this didnt hit me before. Perhaps just load an extra NIC in each of the PCs... connect them via ethernet and hardcode the NICs to be on the same private network. Wahlah.. ssh in business. Any thoughts?
 
Old 09-09-2005, 04:57 PM   #3
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Ethernet is probably the way to go but you could run ppp or slip over the serial link and achieve the same result restricted to RS232 speeds.

If the box on the secured network runs Linux too:
http://www.tldp.org/HOWTO/PPP-HOWTO/direct.html
http://www.dbaoncall.net/references/ht_connect_2pc.html

If the box on the secured network runs Windows
http://www.google.com/search?q=direc...nnection+linux


Last edited by Snowbat; 09-09-2005 at 05:12 PM.
 
Old 09-15-2005, 11:25 AM   #4
BoarderX
LQ Newbie
 
Registered: Jul 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for the links.. ima start digging through them in a sec. I realized a problem with the ethernet solution. If I am secure shelling to the external box from some remote site.. and then securing shelling from there to the internal box, I cant forward X over the ssh hop, or at least any way that I know of right off hand.
 
Old 09-15-2005, 11:41 AM   #5
BoarderX
LQ Newbie
 
Registered: Jul 2004
Posts: 25

Original Poster
Rep: Reputation: 15
caught myself in a lie.. should be checkin more before typing


using the SSH -X tag for secure shell works just fine so long as you use that argument on both hops.

Remote Pc ----(ssh -X)----> External PC ------(ssh -X)----> internal PC
Works!

Remote Pc -----(ssh)------> External PC -------(ssh -X)------> internal PC
No good!

So long as you carry the -X argument through all your hops it looks like there is no problems forwarding GUI. I'm sure I could have read that somewhere but nothing beats an actually test.

Looks like I got this in the bag. Thanks!
 
  


Reply



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
serial connection from Windows kpachopoulos General 1 03-21-2005 04:21 PM
Serial connection with windows xp exvor Linux - Software 1 11-20-2004 01:05 PM
Serial connection ejbest Linux - Newbie 1 08-15-2004 10:52 AM
Serial Connection? Mack_T Linux - Networking 2 09-26-2003 08:31 AM
Simple Serial Connection Bloughry Linux - General 0 09-20-2001 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:20 PM.

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