[wellylug] SSHD on Debian and RedHat
Cliff Pratt
enkidu at cliffp.com
Thu Sep 29 21:33:24 NZST 2005
Jim Cheetham wrote:
> Cliff Pratt wrote:
>
>> I've used ssh (putty) to sshd on Debian with no
>> problems. However on DeadRat the sessions seem to
>> time out after a period of inactivity. Sure I
>> could look at the man page or compare sshd_configs,
>> but I thought I'd be lazy and enquire of the
>> assembled gurus if anyone know the magic incantation
>> that will stop my ssh sessions timing out. Please.
>
> If the two machines are in different location (i.e.
> controlled by different firewalls) then you might
> find that the RedHat machine's firewall is timing
> out inactive sessions earlier.
>
> In those cases, you can try tweaking keep-alive options
> on ssh ... sometimes that doesn't work, and in those
> cases I've taken to running spinner, a nasty hack
> program that just keeps sending NOP characters to
> /dev/tty ...
>
> http://www.laffeycomputer.com/spinner.html
>
> -jim
>
Well, the funny thing is, the RedHat boxes used to be Debian
boxes and when they were Debian, they never timed out. Now
they are RedHat they time out. So the firewal, while it
might be a factor, is not the cause.
Cheers,
Cliff
More information about the wellylug
mailing list