2

I want to have a stable ssh connection to a server where I do things. That would last for days or weeks.

In general, one can set TCP keepalive to more than 7200 seconds:

Socket reset by peer ever 2 hours

In MobaXterm, there are two checkboxes for maintaining a stable connection:

  • Enable SSH keepalive (send data every 60 seconds to avoid disconnections)
  • Workaround for "connection reset by peer" issue (stripped-down encryption algorithms list)

I used the first and my connection was "reset by peer".

Today I realised that I should use the second as well to keep my ssh connection alive for a day.

But what is this workaround ?

What this has anything to do with encryption algorithms ?

Gergely
  • 794
  • 1
  • 10
  • 24
  • I have the same problem,`Enable SSH Keepalive` still got ssh disconnect sometimes. where did you find the checkbox `Workaround for "connection reset by peer" issue` ? – Valiant Jiang Mar 14 '19 at 01:36
  • 1
    @ValiantJiang It's now labeled as `Fix Connection Issues`, and default checked for me. It's in the same place as the `SSH keepalive` config (app settings -> SSH tab -> SSH settings box) – Rudu Apr 05 '20 at 18:06
  • In 2021 version, v21.2 build 4642, there are not any settings with name "Fix connection issues" :( https://i.ibb.co/1RzH9r6/Moba-Xterm-Configuration.png – JRichardsz Jul 16 '21 at 14:53

0 Answers0