LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-15-2009, 04:56 AM   #1
Hailey's_Comet
Member
 
Registered: Jul 2005
Location: USA
Distribution: PCLinuxOS
Posts: 36

Rep: Reputation: 18
Question ssh chaining?


Is it possible to chain ssh logins? Can you ssh into one machine, and in that session, ssh into another? There are computers on my network that I would like to access, but this would be the only possible way to get there from the outside world.

If it is possible it will give me total control over the computers at the house while I'm away, without my room mate having to log in "guest"...
 
Old 05-15-2009, 05:06 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Yes of course you can. You can even automate the process - I'll see if I can dig the link up for you.

Edit here you go

http://www.linuxquestions.org/questi...script-676161/

Last edited by billymayday; 05-15-2009 at 05:09 AM.
 
Old 05-15-2009, 05:06 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

In theory: Yes you can.

There could be other restrictions in real life (no ssh allowed/installed, certain ports that are closed, business policies etc). If these restrictions are on machines that are not yours you probably cannot do anything about that.

For now just give it a try and see how far you get.
 
Old 05-15-2009, 11:01 AM   #4
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
The firewall I administer is accessible only from my office computer's IP. From home when I need to access the firewall, I SSH into my office machine, then to the firewall. Works as you would think it should.
 
Old 05-16-2009, 02:20 AM   #5
Hailey's_Comet
Member
 
Registered: Jul 2005
Location: USA
Distribution: PCLinuxOS
Posts: 36

Original Poster
Rep: Reputation: 18
This is my network I'm trying this with. I knew it would be "theoretically possible", but reality can be quite different sometimes.

I just wanted to know if reality allowed it before I wasted any resources to try it. All changes root does on my "home" server are monitored and logged to possibly be repeated on a production machine, and I don't like to have to put "FAILED" next to it in the log report.

Thank you all for your responses!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Proxy Chaining Help JavaTheCat Linux - Newbie 4 03-25-2009 03:27 PM
Seperate Chaining in C++ ckoniecny Programming 1 12-03-2006 02:54 PM
chaining firewire hard drives? Moebius Linux - Hardware 1 08-15-2004 02:44 AM
chaining multiple commands?? puzz_1 Linux - General 9 05-27-2003 11:32 AM
Mozilla (1.3): Proxy chaining epitome Linux - Software 0 04-23-2003 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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