Is anyone else having difficulty accessing a remote repository via SSH in Xcode 7?
I have all my projects under GIT source control with a remote repository on an OS X Server. In Xcode 6.x I can connect to the remotes via SSH keys without any problems. My server has SSH password authentication turned off.
In Xcode 7 when I set up the remote repository in preferences, using the slightly changed setup dialog that now includes a specific SSH option, I receive an "Authentication Failed" message. Xcode 7 shows the correct server fingerprint the first time I attempt to connect. And, on the server side, I can see in the log where the SSH daemon accepted the incoming public connection.
I've tried a number of fixes without success:
1. Removed all existing remote repository information from both Xcode 6 and Xcode 7
2. Deleted Xcode 6 entirely from my computer, and removed the com.apple.dt.Xcode.plist file in /~/Library/Preferences/
3. Created an entirely new private/public keypair and selected them in the Xcode remote repository setup dialog.
Any ideas would be appreciated! (Bug Report is next on my list)
DG
In my case, Xcode was having problems with the repository called
ssh://mygithost/~myuser/projects/Project.git
I edited the local Project/.git/config by hand (naughty, probably should have used git config) to read
ssh://mygithost/Users/myuser/projects/Project.git
while Xcode was not open, then reopened the project and Push'ed and all was fine after re=-authenticating.
I believe, from the error message I was getting ('/~myuser/... is not a repository') that Xcode now leaves in the initial / causing misparsing of the ~
YMMV