Backup & Restore, permissions on .ssh/id_rsa keep getting changed!

Hello,
This issue has been occuring in my installation for a long time. I only noticed it once a backup occurs (monthly) and check the logs to see that the backup does NOT complete due to issues with permissions on the ssh folder and keys.

Here is the entire backup log;

Saving Backup 1...done!
Intializing Backup 1
Backup Lock acquired!
Running pre-backup hooks...
Adding items...
Bulding manifest...
Creating backup...
Storing backup...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0775 for '/var/lib/asterisk/.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.
bad permissions: ignore key: /var/lib/asterisk/.ssh/id_rsa
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0775 for '/var/lib/asterisk/.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.
bad permissions: ignore key: /var/lib/asterisk/.ssh/id_rsa
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
lost connection
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0775 for '/var/lib/asterisk/.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.
bad permissions: ignore key: /var/lib/asterisk/.ssh/id_rsa
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
Running post-backup hooks...
Backup successfully completed!

I KNOW I have set the permission on the .ssh folder and id_rsa key multiple times now. I don’t understand why they keep getting reset. I’m not sure if it happens with a system update or module update.

It is an easy fix, once I see the issue. I just run;

chmod 700 /var/lib/asterisk/.ssh
chmod 600 /var/lib/asterisk/.ssh/id_rsa

But until I do backups will fail. And I really don’t think you should have to constantly fix this, the permissions really shouldn’t just change like that.