I have a fresh install of phabricator on a CentOS 6 machine. I have configured all the settings except the ssh hosting. I have followed the guide [[ https://secure.phabricator.com/book/phabricator/article/diffusion_hosting/ | here ]] but i'm struck getting:
```
❯ git clone ssh://git@XXX.net/diffusion/4/native-hybrid-demo.git
Cloning into 'native-hybrid-demo'...
sudo: git-upload-pack: command not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
```
when I try to ssh I get this (seems correct):
```
❯ ssh git@XXX
PTY allocation request failed on channel 0
phabricator-ssh-exec: Welcome to Phabricator.
You are logged in as a.marzotta.
You haven't specified a command to run. This means you're requesting an interactive shell, but Phabricator does not provide an interactive shell over SSH.
Usually, you should run a command like `git clone` or `hg push` rather than connecting directly with SSH.
Supported commands are: conduit, git-receive-pack, git-upload-pack, hg, svnserve.
Connection to irisfactory.cloud.reply.eu closed.
```
If I try to exec the command in the SSH session:
```
❯ ssh git@XXX git-receive-pack /diffusion/X/
phabricator-ssh-exec: No repository "X" exists!
```
or
```
❯ ssh git@XXX git-receive-pack /diffusion/4/
sudo: git-receive-pack: command not found
```
If I try to sudo and execute the command seems right
```
[root@XXX ~]# su git
[git@XXX root]$ sudo -E -n -u daemon-user -- /usr/local/git/bin/git-receive-pack
usage: git receive-pack <git-dir>
```
Finally the repo configuration:
{F1165589}
Someone can help me?