SSH to AWS Instance without key pairs

Here’s what I did on a Ubuntu EC2

A) Login as root using the keypairs

B) Setup the necessary users and their passwords with

# adduser

C) Edit /etc/ssh/sshd_config setting

PasswordAuthentication yes

D) Restart the sshd with

# sudo service sshd restart


No comments yet.

Leave a Reply