are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. code example

Example 1: Permissions 0644 for are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored

chmod 600 ~/.ssh/id_rsa

Example 2: it is required that your private key files are not accessible by others

$ sudo chmod 600 /path/to/my/key.pem

Example 3: It is required that your private key files are NOT accessible by others. This private key will be ignored.

# if you are using WSL then include sudo before the commands
sudo ssh ...

Example 4: It is required that your private key files are NOT accessible by others ubuntu

chmod 400 {keyfile}.pem is what amazon instructed and it works.

Example 5: It is required that your private key files are NOT accessible by others.

chmod 400 /Users/username/.ssh/id_rsa

Tags:

Misc Example