After downloading aws-alias.sh, and running aws-start, everything works fine, and my instance begins running. However, when I go to run aws-ssh, I get these errors. I tried both the aliased command of aws-ssh and the direct ssh ubuntu@$instanceIp command, and both give me the following error of permission denied(public key).
$ aws-ssh Warning: Identity file /home/xxxx/.ssh/aws-key.pem not accessible: No such file or directory. Permission denied (publickey). $ ssh ubuntu@$instanceIp Permission denied (publickey).
If anyone has any idea on what to do it would be greatly appreciated. I checked several websites and the aws documentation for the error and they do not seem to work. Thank you!