I\'m trying to configure SSH for Phabricator to get git running. I\'ve followed this manual but when I call echo {} | ssh git@phabricator.mydomain.com conduit conduit.ping
I ran into the
Permission denied (publickey,keyboard-interactive)
problem too and found another cause that is not yet mentioned here: SELinux.
If you use SELinux with "Enforcing" policy on your server, you might run into the same problems. To check if SELinux is responsible, set
$ setenforce 0
and try
$ echo {} | ssh git@phabricator.mydomain.com conduit conduit.ping
again.
If it suddenly works, but you don't want to permanently disable SELinux or run it in permissive mode, you can use audit2allow to resolve the issues that your server recently encountered:
$ ausearch -m avc -ts recent | audit2allow -M local
$ semodule -i local.pp
This ausearch prints recent entries from the SELinux log (usually /var/log/audit/audit.log ) and audit2allow creates policies for entries that are marked as denied. Make sure there are no recent entries in the log you don't want to allow.