I have user and password auth configured for my instances but every one I launch I have to do this at startup:
#!/bin/bash
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
sudo service sshd restart
Is there a reason creating an image from an existing instance isn't copying that file?