<p>You can also use man ssh to get the verbose debugging flags. Enable the flags and see what the debug logs show you.</p>
<div class="gmail_quote">On Feb 5, 2011 3:32 PM, "Jay Boyson" <<a href="mailto:jboyson.subscriber@gmail.com">jboyson.subscriber@gmail.com</a>> wrote:<br type="attribution">> Try snooping on the remote machine when you are connected to it from the<br>
> outside net. Compare your snoop to a local net session.<br>> On Feb 5, 2011 2:41 PM, "Franz Waldmüller" <<a href="mailto:waldbauernbub@gmx.at">waldbauernbub@gmx.at</a>> wrote:<br>>> Am 2011-02-05 20:13, schrieb Tapas Mishra:<br>
>>> I have ssh access to a machine in my network,when I access it from<br>>>> within the network and the connection lies idle for a lot of time the<br>>>> connection does not die.<br>>>> But when I login to the server from my home and there is no data<br>
>>> transmission for a long time the connection dies.<br>>>> Here I would like to mention I have not set idletimeout or keepalive<br>>>> in sshd_config and also the behavior of connection from inside network<br>
>>> and outside is different.<br>>>> So what can be a reason for this?<br>>>><br>>>> --<br>>>><br>>> I don't know the reason, but if you want to avoid the disconnect, start<br>
>> a lite process, e.g:<br>>> watch date<br>>><br>>> Franz<br>>><br>>> --<br>>> ubuntu-users mailing list<br>>> <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
>> Modify settings or unsubscribe at:<br>> <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></div>