Stay updated with our latest articles, subscribe to our newsletter
ndows terRemember the private key your downloaded from AWS while provisioning the server? It is a PEM
file format. You can open it up to see the content and have a glimpse of what a PEM
file looks like.
Now, we are going to use that PEM
key to connect to our EC2 Instnace via ssh
.
On, windows the windows terminal tool is not installed by default, you can install it from here
cd Downloads
IMPORTANT – Anywhere you see these anchor tags < > , going forward, it means you will need to replace the content in there with values specific to your situation. For example, if we need you to replace the name you have saved the private key on your machine, we will write something like < private-key-name >.
If the private key you downloaded was named my-private-key.pem simply remove the anchor tags and insert my-private-key.pem in the command you are required to execute. Lets try this and follow the instructions below to get some work done.
- Connect to the instance by running
ssh -i <private-key-name>.pem ubuntu@<Public-IP-address>
Total Views 40 , and 1 views today
Segun
Liked this article?
Stay updated with our latest articles, subscribe to our newsletter