Enable SFTP / SSH Password Authentication Amazon EC2

By default EC2 default Linux (Amazon, Ubuntu, etc) AMI do not have password authentication enabled and must use certificates. This improves security but also removes convenience of username/password authentication especially on a multi user system.

To enable this feature again edit /etc/ssh/sshd_config

Find or add the line from:
PasswordAuthentication no
to
PasswordAuthentication yes

Save the changes and restart SSH demon:

WARNING!
This may disconnect a remote session and any mistakes causing SSH to fail to accept connections may cause a lock out

sudo service ssh restart

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Infrastructure, Linux and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *.

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.