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"... |
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/ |
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. |
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.
|
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! |
All times are GMT -5. The time now is 05:22 PM. |