Information Technology/Linux

How to enable automatically login without private key in AWS EC2 Linux CentOS7

Patrick Moon 2019. 8. 13. 19:13

You have to edit file named sshd_config

sudo vi /etc/ssh/sshd_config

- PermitEmptyPasswords no

- PasswordAuthentication yes

- ChanllengeResponseAuthentication no

 

Then, you have to Save and Restart!

 

systemctl restart sshd

 

and then you have to restart SSH Services right now.

 

**Please refer to the following document provided from AWS

http://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/putty.html