Access to aws EC2 instance using password in linux

rajeshkumar created the topic: Access to aws EC2 instance using password in linux

Access to aws EC2 instance using password in linux

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

Credit Illy
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Rajesh Kumar
Follow me