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
Latest posts by scmgalaxy K (see all)
- Use of runtime variables to save into another variable using register in Ansible - September 6, 2018
- Ansible & Ansible Tower Variable Precedence Hierarchy - September 6, 2018
- How to use template in Ansible? - September 6, 2018