No man is above the law and no man is below it: nor do we ask any man’s permission when we ask him to obey it. – Theodore Roosevelt
You are attempting to automate your ssh session to a remote system using keys and you get the following “Permissions are too open” message.
The problem is, that the private key you are using must remain private. If you permit others to read it, that condition is not satisfied. So when you type something such as ssh -i ~/.ssh/rsa_key firstname.lastname@example.org you get the classic Warning: Unprotected Private Key File!
To change this you simply do the following (make it so only you the owner can read and write to the private key:
<span style="color: #ff00ff;">chmod</span> <span style="color: #993300;">600</span> <span style="color: #0000ff;">/home/admin/.ssh/rsa_key</span>
This worked for me, it should work for you.