skip to Main Content

I new client gave me their root AWS site login credentials. I can see the EC2 instance IP address. Are the SSH credentials available in the AWS web portal? Or do I have to create new credentials?

2

Answers


  1. The SSH private key credentials are private. AWS doesn’t keep a copy of them. You’ll need to create new ones.

    https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-ec2reset.html

    Login or Signup to reply.
  2. SSH private keys generated by AWS are generated once. When you create a new SSH key, you have to save the generated .pem file (private key file) onto your local system.

    If they gave you root credentials to the AWS console but not the server credentials, you will have to ask for them first.

    You need these 3 things in order to connect through SSH

    • server IP
    • SSH username
    • SSH key / password

    Once you have that, you can run this command on your terminal

    if you use username / password

    ssh <ssh-username>@<server-ip>

    if you use username / private key

    ssh -i path/to/key.pem <ssh-username>@<server-ip>

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search