For MAC Users
Navigate to the location where .pem key is downloaded and stored in your local.
To update Permissions, run command
chmod 400 keypair
User Name of the server :
Amazon Linux AMI : ec2-user
Ubuntu AMI : ubuntu
OPENVPN AMI : root
To SSH and connect to the EC2 Instance, Enter the following command:
Download putty and puttygen from this link : https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
To convert your key pair .pem to .ppk:
Click on .
Click on All files to show your .pem file and select the .pem file.
You will get a success message if done correctly.
Enter keypairname and Save.
keypairname.ppk file will be saved to your local machine.
Navigate to the EC2 instance page and get the public IP of the machine.
Host Name : Enter the public IP address
If you are using Amazon Linux AMI for the lab:
Enter user name: ec2-user and hit Enter.
If you are using Ubuntu AMI for the lab:
Enter user name: ubuntu and hit Enter.
If you are using OPENVPN AMI for the lab:
Enter user name: root and hit Enter.
You will see the console after a successful login.