Enable password authentication for aws EC2 Instance

After you ssh using Ubuntu as user:

First switch to root using.

sudo su

Then open sshd config

vim /etc/ssh/sshd_config

Search for PasswordAuthentication and set that to yes.

sshd_config

Save and quit. Then you need to reload ssh service once and you are good to go.

service sshd restart

All done. Try testing ftp connection with ftp client of your choice.

Leave a Reply