title: Amazon ssh_exchange_identification: read: Connection reset by peer: when changing permissions
body: <p>I went on to my amazon ec2 successfully and I have been experimenting around. I found it annoying that I needed to always run sudo on everything so what I decided to do was to go to the route directory and change the permissions of everything to write, write, and execute.</p>
  
  <p>I did so doing the following</p>
  
  <pre><code>chmod -R 777 .
  </code></pre>
  
  <p>I then exited out of the server.</p>
  
  <p>The next time I tried to logon I got</p>
  
  <pre><code>"ssh_exchange_identification: read: Connection reset by peer"
  </code></pre>
  
  <p>How can I fix this?</p>
  
  <p>Thank you</p>