Re: "reverse"-ssh ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don wrote:
From my work office I can ssh to my home machine ... works great.....
From home I can NOT ssh back to my work, because the work firewalls are secure in that regard. (Changing the firewall settings at the office is not an option available to me).....
Is there a way I can start a session FROM my office, and then from home, somehow "piggy back" on that so I could work on the office machine from home?
So, effectively, from my work machine I'd initiate a session at the other end (my home). When I got home I could continue working on the machine that's in the office.
Thanks,
Don


You can use TCP forwarding.
From your work box, something like:

ssh -C -R 1025:work.box:22 username@xxxxxxxx

should setup a listening socket on port 1025 at your home box, and forward all connections to your work box, to port 22.

You should then be able to ssh into your work box at home by:
ssh -p 1025 workuser@localhost

man ssh for more details.
Cheers,
Michael




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux