Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

EC2 Security - Key Pairs

Pragya Keshap answered on February 23, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • ec2 ssh proceed without a key pair can I access without key
  • how to add key pair to ec2 instance terraform
  • ec2 ssh
  • What are Key-Pairs in AWS?
  • ssh into aws ec2
  • EC2 Security - Security Groups
  • EC2 purchase options#

  • EC2 Security - Key Pairs

    0

    EC2 uses public key cryptography to protect login credentials

    Key pair - public key and a private key

    Public key is stored in EC2 instance

    Connecting to EC2 instance(s) - Troubleshooting:

    You need to have the private key with you

    Change permissions to 0400 (chmod 400 /path/my-key-pair.pem)

    Default permissions on private key - 0777 (VERY OPEN)

    (Windows Instances) In addition to private key, you need admin password

    (At Launch) Random admin password is generated and encrypted using public key

    Decrypt the password using the private key and use it to login via RDP

    Security Group should allow inbound SSH or RDP access:

    Port 22 - Linux EC2 instance (SSH)

    Port 3389 - RDP (Remote Desktop - Windows) 

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 23 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.