LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-17-2003, 02:01 PM   #1
JSkalka
LQ Newbie
 
Registered: Sep 2003
Distribution: RedHat/Solaris/AIX
Posts: 6

Rep: Reputation: 0
Question X over SSH then telnet


- so please be gentle.

I'm trying to setup a remote access system for potential offsite development work.

My plan is to use SSH to connect from the outside world to one server, then be able to telnet around our inside servers. This much I can get to work.

What I can't get to work is any X sessions between any machines - even if I'm logged in locally. I'm running a collection of various *nixes (RedHat 9, Solaris 9 for SPARC, AIX).

I promise to burn my Micro$not certification cards in honor of the first person to help me!

TIA,
Justin
 
Old 09-17-2003, 02:25 PM   #2
cyph3r7
Member
 
Registered: Apr 2003
Location: Silicon Valley East, Northern Virginia
Distribution: FreeBSD,Debian, RH, ok well most of em...
Posts: 238

Rep: Reputation: 30
could be a few things....

locally you may need to specify xhost + to allow an xsession from another server. Check google for more info on xhost.

as for across SSH you would need to specify in your ssh_config file to allow x11 forwarding. Change:

ForwardX11 no

to

ForwardX11 yes


That should get you in the right direction......oh and make sure port 6000 to 6100 (maybe more forget the range) is accessable via the firewall.
 
Old 09-17-2003, 02:59 PM   #3
JSkalka
LQ Newbie
 
Registered: Sep 2003
Distribution: RedHat/Solaris/AIX
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks. That stuff I've already been looking at. Firewall stuff isn't an issue because I'm trying to work with the machines "locally" and still not having success.

Will spend more time on the xhosts stuff...

I guess all these year on Win platforms has made me dumb.

THANKS!
 
Old 09-17-2003, 03:36 PM   #4
cyph3r7
Member
 
Registered: Apr 2003
Location: Silicon Valley East, Northern Virginia
Distribution: FreeBSD,Debian, RH, ok well most of em...
Posts: 238

Rep: Reputation: 30
I wouldn't say dumb...lets just say you have freed your mind.....
 
Old 09-19-2003, 05:43 AM   #5
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
ssh provides the slickest way to do X11 forwarding, so maybe you should ssh exclusively instead of both ssh and telnet.
 
Old 11-21-2003, 04:19 PM   #6
JSkalka
LQ Newbie
 
Registered: Sep 2003
Distribution: RedHat/Solaris/AIX
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by cyph3r7
I wouldn't say dumb...lets just say you have freed your mind.....
That's what I ended up doing. I SSH in from the outside, then SSH from machine to machine and everything works fine.

Thanks guys.
 
  


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
Why you should use ssh instead of telnet. Artanicus Linux - Networking 1 12-02-2005 12:45 PM
SSH/Telnet kbeaver Linux - Networking 8 07-22-2003 10:31 AM
Telnet, ssh, etc. mrozkan *BSD 1 07-18-2002 11:55 AM
Telnet and SSH Rampage2884 Linux - Networking 3 04-30-2002 02:31 PM
Telnet / SSH Seph Linux - Security 2 07-13-2001 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:37 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