Advertisement

Lab: Access EC2 - instance by ssh with password instead of ssh-keys.

Lab: Access EC2 - instance by ssh with password instead of ssh-keys. How to access ec2-instance by ssh with password instead of ssh keys.
=====================================================================

Requirements for complete this lab.
1. You should have free-tier account of AWS(Amazon Web Service).
2. You should have git-bash software.

The following steps are:
1. Launch a instance.
2. Access this instance by ssh-key.
3. sudo passwd ec2-user.
4. sudo vi /etc/ssh/sshd_config
5. PasswordAuthentication yes
6. sudo service sshd restart
7. ssh ec2-user@ip-address of instance.

ssh-keys.

Post a Comment

0 Comments