Setting the Correct Permissions on the Private Key

Important: Before using the private key, make sure it has the correct permissions.

  1. Open the terminal
  2. Run the following command to set the correct permissions:
chmod 600 /path/to/private_key

For example, if you saved the key in the Downloads folder with the name id_ed25519.pem, you should type the command:

chmod 600 Downloads/id_ed25519.pem