EC2 connection with cmd.
Connecting an EC2 instance with cmd
Step1: Create an Ec2 Instance. For creating an instance Click.
- Follow the link to create an EC2 Instance.
Step2: Connect the EC2 with cmd.
- Copy the public Ip address in an Instance.
- Copy the key-pair file path where it is downloaded.
- Open the cmd in your computer.
- Enter the following command in the cmd.
ssh -i key-pair-path ec2-user@ipaddress
Ex; ssh -i "C:\Users\nandi\Downloads\vs1.pem" ubntu@54.91.103.217
Comments
Post a Comment