How do I set up SSH access for an Amazon EC2 instance?

后端 未结 13 1055
挽巷
挽巷 2021-01-29 19:20

I need SSH access to an Amazon EC2 instance running Ubuntu 10.4. All I have is the Amazon username and password. Any ideas?

13条回答
  •  别那么骄傲
    2021-01-29 19:32

    Make sure these thing in check

    1. private key must have 400 permission

    2. Make sure port 22 is open for AWS instance you are trying to access.

    3. ssh -i privatekey.pem ubuntu@XXX.XXX.XXX.XXX // XXX.XXX.XXX.XXX = your instance public ip

提交回复
热议问题