I’ve created a new phabricator instance and set up a repo (and activated it). I added an ssh public key to my profile. When attempting to clone from or push to the repo, git requests a password. On windows, it just kinda poops the bed:
PS C:\Users\rhaley\starfish> git clone ssh://email@example.com/source/bunpoc.git Cloning into 'bunpoc'... Kfatal: protocol error: bad line length character: | Pa eyboard-interactive authentication prompts from server:
On linux, I get a slightly less poopy result:
starfish@linux-dev-2:~/starfish$ git clone ssh://git@phabricator/source/bunpoc.git Cloning into 'bunpoc'... Password for git@Phabricator: Password for git@Phabricator: Password for git@Phabricator: git@phabricator: Permission denied (publickey,keyboard-interactive). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
What is interesting here is that the host name is “Phabricator” and I haven’t used that anywhere in a config file or on the command line. Some searching indicates that this is a known problem:
“The address the user is trying to clone is different to what the application expects.”
I think this link points to the problem being on the server and not on my client. So now for questions:
- Does anyone know the answer to this problem? (Am I on the correct track?)
- If it is a problem with the server? How do I change the hostname/expected name? e.g. how do I fix “what the application expects”?