title: IntelliJ IDEA: ArrayIndexOutOfBoundsException when setting up SFTP servers
body: <p>I can't seem to set up an SFTP connection for deployment in IntelliJ IDEA. I get an <code>ArrayIndexOutOfBoundsException</code> every time I try to get a connection to the server. When setting up an FTP server, I don't get this exception and everything seems to be working fine.</p>
  
  <p>The server is reachable and I double-checked my login details...</p>
  
  <p><img src="https://i.stack.imgur.com/kg7eG.png" alt="enter image description here"></p>
  
  <p>Does anyone know how to fix this?</p>