Warning: unprotected private key file!

Hello,

I am trying to copy my umui job to the BAS hpc. When typing the following command: /home/n02/n02/irealm37/bassubmit -r bas -u irealm37 -q short xpteb

I am getting the following error message " WARNING: UNPROTECTED PRIVATE KEY FILE!"

puma2.archer2.ac.uk$ /home/n02/n02/irealm37/bassubmit -r bas -u irealm37 -q short xpteb
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0640 for ‘/home/n02/n02/irealm37/.ssh/id_rsa’ are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key “/home/n02/n02/irealm37/.ssh/id_rsa”: bad permissions
irealm37@bslcenc.nerc-bas.ac.uk: Permission denied (publickey,gssapi-with-mic,password).
ERROR: SSH connection failed. Please make sure you have private key pairs set up

How can I solve this error?
Many thanks,
Irene

You can change permissions on files. This is shown for your key here: heroku - Getting "Warning: unprotected private key file!" error message while attempting to import SSH key - Stack Overflow

That was perfect. It worked. Thank you very much