Showing posts with label VM. Show all posts
Showing posts with label VM. Show all posts
Published January 04, 2018 by

Connecting to AWS VM (instance) from Linux Machine

In the last post, we connect to aws instance from windows machine now we will connect to it from Linux machine by Terminal

First of all, give permission 400 to pem key file

chmod 400 /home/ubuntu/serverkaka.pem

Open Terminal and Type

ssh -i /home/ubuntu/serverkaka.pem ubuntu@34.239.44.197

Here /home/ubuntu/serverkaka.pem is a path of my pem key file and 34.239.44.197 is my aws instance IP.




Now you connect with AWS instance

Read More
Published January 03, 2018 by

Connecting to AWS VM (instance) from Windows Machine

In the last post, we created Linux instance, and downloaded private key (serverkaka.pem) now we will connect to it from Windows by PuTTY

Download PuTTY from here

Run PuTTYgen to convert pem file to ppk, so we can import it into PuTTY



Click Load Button and Choose .pem file




Now PuTTYgen successfully imported pem file click OK and Save private key



If you want to set passphrase click No and set it, otherwise, click Yes


Then save keys with .ppk extension


Now note down or copy your VM's public IP


Open PuTTY and give IP and Port and expand SSH>Auth and Browse .ppk file and click Open Button.



Click Yes when it's asking for PuTTY Security Alert


Login as ubuntu because of we have Ubuntu server.


Now you successfully connected with your Linux AWS VM instance.


During instance creation, I created basic security rules in security group for SSH access only to VM’s IP to any address (0.0.0.0/0)

Read More