# Granting ssh access on selinux enforcing systems to a user with a custom home directory other than /home

Work in progress

```bash
sudo semanage fcontext --add -t ssh_home_t "/path/to/my/.ssh(/.*)?";
sudo restorecon -FRv /path/to/my/.ssh
```
