ok chmod 400 worked.
can not access the SSH from my laptop with this error - Permissions 0644 for 'x.pem' are too open.
ssh -i x.pem user@1.1.1.1
The authenticity of host '1.1.1.1 (1.1.1.1)' can't be established.
RSA key fingerprint is SHA256:mMt4o9JtTVNZce/0CNnSK0.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '1.1.1.1' (RSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for 'x.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "x.pem": bad permissions
user@1.1.1.1: Permission denied (publickey).