If you are getting this error then you probably reset the permissions on your keys:

More info: Fixing ssh error.
chmod 0400 ~/.ssh/key
chmod 0700 ~/.ssh/
ssh -i ~/.ssh/key user@server

More info: Fixing ssh error.