Re: [openssh] Re: Frequent "Connection reset by peer"

This is a discussion on Re: [openssh] Re: Frequent "Connection reset by peer" within the OpenSSH Development forums, part of the Networking and Network Related category; On Tue, Jan 29, 2008, Tuc at T-B-O-H.NET wrote about "Re: [openssh] Re: Frequent "...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-31-2008
Nadav Har'El
 
Posts: n/a
Default Re: [openssh] Re: Frequent "Connection reset by peer"

On Tue, Jan 29, 2008, Tuc at T-B-O-H.NET wrote about "Re: [openssh] Re: Frequent "Connection reset by peer"":
> I ran what you said, and the first one ran for about
> 2 minutes and then :
>
> Connection to 10.0.0.6 closed by remote host.
> Connection to 10.0.0.6 closed.
>
> And the 2nd time about 20 seconds before the same.


If I understood correctly, what you ran just opened a connection, but passed
no data for two minutes. Is it possible that your router simply disconnects
inactive TCP connections after two minutes, in the pretext of saving memory,
guard against DOS attacks, or who knows what?

You can try setting ServerAliveInterval in your client to something less than
two minutes, and see if it helps. E.g., in your ~/.ssh/config put

ServerAliveInterval 60


--
Nadav Har'El | Thursday, Jan 31 2008, 24 Shevat 5768
nyh@math.technion.ac.il |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |He who has more is not happier than he
http://nadav.harel.org.il |who wants less.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0