Connect on your EC2 instances with Local host by ssh

Prerequisites for installing EC2 Instance Connect: Ubuntu to ubuntu

  • AWS account

  • Run Ec2 instance

  • AWS ubuntu server with privet key file (key.pem) & path of this file

  •     chmod 400 "testdemo1.pem"
    

    chmod 400 means permit to :{testdemo1.pem } is security privet key

  • The owner can read the file.

  • Group members have no permissions.

  • Others have no permissions.

      ssh -i "testdemo1.pem" ubuntu@ec2-52-1-30-149. compute-1.amazonaws.com
    
0
Subscribe to my newsletter

Read articles from Md. Wahaduzzaman directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Md. Wahaduzzaman
Md. Wahaduzzaman