Problem
Warning: Permanently added 'xxx.xxx.xxx.xxx' (ED25519) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/Users/your_username/.ssh/id_rsa.key' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/Users/your_username/.ssh/id_rsa.key": bad permissions
[email protected]: Permission denied (publickey).
Cause
This is a security validation because 644 means that another users who using this machine has rights to read this file.
Solution
sudo chmod 600 ~/.ssh/id_rsa