The file permissions for SSH Key files

The file permissions for the ssh keys and the .ssh folder should be set as follows: File Permission .ssh directory 700 .pub (public key file) 644 id_rsa (Private key file)…