ssh is private key files are not accessible by others code example
Example 1: it is required that your private key files are not accessible by others
$ sudo chmod 600 /path/to/my/key.pem
Example 2: It is required that your private key files are NOT accessible by others.
chmod 400 /Users/username/.ssh/id_rsa