title: How do I get AWS EC2 to not reset my sshd_config file?
body: <p>I want to allow password logins to my EC2 instances. I know which line it is that controls this in /etc/ssh/sshd_config and what it should be set to. Specifically:</p>
  
  <pre><code>PasswordAuthentication yes
  </code></pre>
  
  <p>However, even when I've set this on a master image that I keep, whenever I restore it to a new instance, the value on the line keeps getting reset to 'no'. Which means that every time I launch a new instance I have to yet again manually change this file. This has made the automation of my instances one step away from being fully automated.</p>
  
  <p>What do I need to do to my master image so that every instance I create from it leaves my sshd_config file the way I like?</p>
  
  <p>This is a Fedora 16 image fully configured with proprietary and other software.</p>