title: How to keep SSHD open when out of memory
body: <p>I'm on EC2 t2.small instance (2GB RAM) and keep getting locked outside the server without the ability to ssh into it.<br>
  error message is <code>ssh_exchange_identification: read: Connection reset by peer</code><br>
  Knowing the application, I assume it leaks memory and that SSHD is blcoked due to that.    </p>
  
  <p><strong>Is there a way to allow SSH connection to a linux box that has its RAM full?</strong><br>
  Can I someone have SSHD reserve enough memory for new connections?</p>