SSH backup within amprtal - Key permissions issue

ricks
Posts: 26
Member Since:
2007-07-05

Trixbox CE 2.6.1-stable

After configuring SSH options within AMPORTAL.CONF, we tested the backup created locally on the TrixBox host, to then be transfered to a remote host via SSH.

Tested the backup successfully once and then noticed the public key was no-longer being accepted by the remote host(Being ignored).

After investigation we noticed somehow the private key on the Trixbox (rsa file) had its permissions changed to 0620..Not sure how that happened but it causes the key to be ignored on subsequent tries and the SSH transfer fails.

Changing permissions back to 0400 resolves the problem but somehow they get changed after a backup runs..

Anyone hear of this issue?