[svlug] ssh connection reset by peer

Gary Lin glin at employees.org
Sun Aug 3 02:18:48 PDT 2003


Another thing you can try is to use the KeepAlive option.

-- Gary

Marc MERLIN wrote:

>On Tue, Jul 29, 2003 at 07:42:33AM -0700, Don Marti wrote:
>  
>
>>begin Bryan K. Watson quotation of Tue, Jul 29, 2003 at 12:01:28AM -0700:
>>
>>    
>>
>>>..just to generate traffic on that channel and keep it alive.  I use IP 
>>>tables as well as nat with a trusted internal ethernet...similar setup.   
>>>When I am in remote using SSH and doing the ping thing, I can stay 
>>>connected all day with no disconnect.  I had the same problem as you did 
>>>before doing this.
>>>      
>>>
>>You can also put
>>
>>ProtocolKeepAlives 30
>>
>>in ~/.ssh/config and get the same effect.
>>    
>>
>
>Note that this is debian only. Last I checked, RH still didn't have that
>patch in their openssh
>
>Marc
>  
>







More information about the svlug mailing list