<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font size="-1">On 11.03.18 18:20, Michael Stauber wrote:<br>
    </font>
    <blockquote type="cite"
      cite="mid:e094c339-a4be-6299-411e-56d149bdbaa0@blueonyx.it"><font
        size="-1"> </font>
      <pre wrap=""><font size="-1">Hi Meaulnes,
</font></pre>
      <font size="-1"> </font>
      <blockquote type="cite">
        <pre wrap=""><font size="-1">lately, something changed in the ssh configuration on all my virtual servers, I now get kicked out with a broken pipe after a definitively too short time...
instead of having to edit all ~/.ssh/config  on all servers and add the ServerAliveInterval  and ServerAliveCountMax  lines, is there an easier way to achieve this and return to the previous configuration?
</font></pre>
      </blockquote>
      <font size="-1"> </font>
      <pre wrap=""><font size="-1">I'm not aware of any changes there. We haven't touched any of the SSH settings in a couple of years. So I assume both the ServerAliveInterval and ServerAliveCountMax are using default values as provided by the OS.
We could of course make these configurable in the GUI and introduce different defaults.
However: On my workstation I'm usually logged in by SSH on almost all my servers all the time and these connections stay alive on their own for days (sometimes weeks) until I either reboot the workstation or my ISP has yet another outage.</font>
</pre>
    </blockquote>
    hmmm ... I'm jealous!:-)<br>
    <p>then it must be my terminal client that changed the keep alive
      settings. Or by changing the ssh port from 22 to <i><hidden></i>?
      The drops happened afterwards, but I don't guess that port change
      is the culprit...</p>
    <p>I'm using iTerm2 as a terminal on a Mac. When I used Windows, I
      had PuTTY. I reinstalled PuTTY on my Windows emulation on the Mac.
      PuTTY can be configured to prevent broken pipes. And I just found
      out that there is a Mac version of it! So I'll try this.<br>
    </p>
    Thank you and best regards<br>
    <br>
    Meaulnes Legler
    <div class="moz-signature">
      <table border="0" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td>~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~</td>
          </tr>
          <tr>
            <td>~ <tt> <a class="moz-txt-link-abbreviated" href="http://www.WaveWeb.ch">www.WaveWeb.ch</a> </tt> ~</td>
          </tr>
          <tr>
            <td>~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~</td>
          </tr>
          <tr>
            <td>~ <small><tt>Zurich, Switzerland</tt></small> ~
              <br>
              ~ <small><tt>tel: +41 44 2601660</tt></small> ~</td>
          </tr>
        </tbody>
      </table>
      <br>
    </div>
  </body>
</html>