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 ?

3
  • 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 ? Mar 14, 2019 at 1: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 5, 2020 at 18:06
  • In 2021 version, v21.2 build 4642, there are not any settings with name "Fix connection issues" :( i.ibb.co/1RzH9r6/Moba-Xterm-Configuration.png
    – JRichardsz
    Jul 16, 2021 at 14:53

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.