Ssh Key File Permissions Private Public
Private key
chmod 600 private_key_file
Public Key
chmod 644 public_key_file
Error message like
Error message
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/Users/nkondrat/dendron_ws/thorg-vault-private/assets/ssh-keys/thorg-dev-test-access/id_rsa' 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/nkondrat/dendron_ws/thorg-vault-private/assets/ssh-keys/thorg-dev-test-access/id_rsa": bad permissions
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.