I would like to connect a user account I have created for git in /var/git using authorized_keys. However, SELinux prevents this with the following AVC message
SELinux is preventing sshd(sshd_t) "read" var_t
I'm new to SELinux administration, but I understand that this message states sshd is not allowed to read anything under /var. How can I relabel to allow it access to /var/git? (without putting sshd in permissive mode)
I have tried labelling /var/git/.ssh/authorized_keys as sshd_key_t, but this has no effect. Thanks in advance!