If you made changes that caused the key file on the server to be inaccessible then you won't be able to ssh into that account. If there is another administrator account on your server that you have the password or key for then you can log into that and fix the permissions. Otherwise you'll have to use the AWS console to restore access. One of the following may help:
Installation
ssh: Permission denied (publickey)
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 5 posting(s) in 1 day