ssh -R

tony.chamberlain at lemko.com tony.chamberlain at lemko.com
Tue Apr 15 11:33:54 UTC 2008


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20080415/16dd7ae7/attachment-0001.html 


More information about the users mailing list