On Tue, 2008-04-15 at 11:33 +0000, tony.chamberlain@xxxxxxxxx wrote: > > 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. What's you ClientAliveInterval value in /etc/ssh/sshd_config ? Manuel.