ssh connection keepalive or idletimeout

Franz Waldmüller waldbauernbub at gmx.at
Sat Feb 5 19:40:29 UTC 2011


Am 2011-02-05 20:13, schrieb Tapas Mishra:
> I have ssh access to a machine in my network,when I access it from
> within the network and the connection lies idle for a lot of time the
> connection does not die.
> But when I login to the server from my home and there is no data
> transmission for a long time the connection dies.
> Here I would like to mention I have not set idletimeout or keepalive
> in sshd_config and also the behavior of connection from inside network
> and outside is different.
> So what can be a reason for this?
>
> --
>
I don't know the reason, but if you want to avoid the disconnect, start 
a lite process, e.g:
watch date

Franz




More information about the ubuntu-users mailing list