Your access key and secret access key are used to talk to AWS APIs as the IAM user you created them for. There is no username for an access key. They are unique to the user you created them for, and when you use them AWS knows who you are. This page of the general documentation might clear things up for you.
It sounds like you're trying to connect to an EC2 instance. In the case of Ubuntu, you need SSH to the server using a SSH key pair (public and private key file) that you generate when you start the instance. See the EC2 documentation for more details about instance keypairs, and how to SSH to an instance.
- asked 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 3 years ago
- EXPERTpublished a year ago
- EXPERTpublished 9 months ago