Permissions 0640 for 'tokn_aws.pem' are too open. code example Example: Permissions 0664 for '/home/kapua/keys/dev11' are too open. chmod 600 ~/.ssh/id_rsa