Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts

Friday, 17 July 2020

How to access putty session of AWS EC2 instance using MAC(Apple based system)



Pre-requisites:
Make sure that private key for EC2 instance is download to the local machine.
Provide proper permissions to the private key file.(Chmod 444 <filename_of_private_key>

Process:

  •  open terminal connection from MAC system. 

  • issue putty command: 

                          ssh ec2-user@<ip_address> -i <private_key>


The above highlighted, <ip_address> and <Private key>  will vary from one ec2 instance to another.