I get the following error when I tried to add repo hosted elsewhere;
```
Command failed with error #128!
COMMAND
git clone --bare -- 'xxxxx' '/var/repo/ZZ'
STDOUT
Cloning into bare repository '/var/repo/ZZ'...
STDERR
Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
at [/opt/phab/libphutil/src/future/exec/ExecFuture.php:398]
[16-Mar-2014 08:09:11] #0 ExecFuture::resolvex() called at [/opt/phab/phabricator/src/applications/repository/storage/PhabricatorRepository.php:253]
[16-Mar-2014 08:09:11] #1 PhabricatorRepository::execxRemoteCommand(clone --bare -- %P %s, Object PhutilOpaqueEnvelope, /var/repo/ZZ) called at [/opt/phab/phabricator/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php:211]
[16-Mar-2014 08:09:11] #2 PhabricatorRepositoryPullEngine::executeGitCreate() called at [/opt/phab/phabricator/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php:78]
[16-Mar-2014 08:09:11] #3 PhabricatorRepositoryPullEngine::pullRepository() called at [/opt/phab/phabricator/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:127]
[16-Mar-2014 08:09:11] #4 PhabricatorRepositoryPullLocalDaemon::run() called at [/opt/phab/libphutil/src/daemon/PhutilDaemon.php:85]
[16-Mar-2014 08:09:11] #5 PhutilDaemon::execute() called at [/opt/phab/libphutil/scripts/daemon/exec/exec_daemon.php:112]
```
This obviously suggests I have not setup access credentials properly. I generated ssh keys for the phd user on server and added key to my github account. I have added my personal credentials to phabricator, but it does not help. I am able to clone my github repos manually on the server.
The same error occurs with public repositories as well.
I'm not able to figure out where the gap is, will appreciate any pointers.