title: Raspberry Pi Connection closed SSH
body: <p>I just bought a raspberry Pi 3. I am trying to run it but first it wrote <code>connection refused</code> on ssh attempt. After I ran the <code>raspi-config</code> and enabled the ssh I now get a <code>Connection closed by 192.168.0.31</code>. When I scan the ports on that machine the <code>22/tcp</code> is open (using <code>nmap</code>).
  What could be the problem?</p>