So over the years I have had to generate, and use a lot of ssh keys. Some of the things that always have to get done are ~/.ssh needs to be 0700 and ~/.ssh/authorized_keys needs to be 0600, and then private keys used to login to a server always need to be 0600. I know ssh enforces these permissions but I wanted to know the reason why its not safe to have the following (Yes I am calling the white hats, black hats and anything in between to get this answer).
- ~/.ssh/ = 0755
- ~/.ssh/authorized_keys = 0644
- ~/.ssh/id_rsa = 644 (or any private key)