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

后端 未结 13 1051
挽巷
挽巷 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:45

    You need to create a key pair first - do that using your EC2 console. Then use your private key to SSH into the server (the username is ec2-user) using a SSH client of your choice.

    Once in, you can issue a sudo su - to gain root if you want (note: you cant log in as root directly).

    0 讨论(0)
提交回复
热议问题