I just got a new computer (Mac BP), and want to move my AWS access to the new computer.
Background: Wasn’t sure how to start, so I decided to create a new user and configure my AWS on my new computer to that user’s access/secret access codes. I then took the aws-key.pem from my old computer and downloaded it into my new computer. I moved it into ~/.ssh/. I then tried to use ssh -i … (same command I use on my old computer) to get access to the server, but I got a Permission denied (publickey). (The instance was running, btw!)
I have searched around Google and Stackexchange, but none of the solutions seem to help, perhaps because it does not match my situation of moving access from one computer to another.
Does anyone know what I could do to make this work? Am I doing something wrong here?