ssh -R

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

 



 
The following is for CentOS 4.5


We have an internal network (192.168.5.0/255.255.255.0).
We have one machine reachable from inside and outside
(NOT on the 192.168.5 network).  Just for this example
call it 10.20.30.40 (though that is not its real address.
I don't put the real address, for security concerns here).

Anyway my machine is 192.168.5.19  so from my machine
I do an

     ssh -l root -R 10022:127.0.0.1:22 10.20.30.40

Then I log into 10.20.30.40 from another machine and do a

     ssh -l tony -p 10022 127.0.0.1

which gets me into my machine.  Test passes.  Problem is, by
the time I get home, my ssh -l root -R 10022:127.0.0.1:22 10.20.30.40
has timed out or something and I can no longer get to my local machine.
Do you know what I can do to keep it from timing out (or maybe locking up)?
I do have root access to both machines so if there is something in
sshd_config to change, I can do it.

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

  Powered by Linux