Now when you try and clone it with Xcode you'll get the username/password dialog with "SSH Keys" selected and a request to unlock the passphrase. You MUST REBOOT your computer at this point. "cd /tmp git clone Xcode's preferences file in ~/Library/Preferences/.Xcode add your public key to the remote user's. If still needed, fix your ssh problem (e.g. The basic idea is that if Xcode's use of ssh fails you will get a bogus error message from Xcode about not matching previous requests and it is stuck. There are many other (far shorter) ways to get stuck with this failure, but this demonstrates that there is no "previous request" or previous saved-state involved. ssh/authorized_keys file, Xcode is still stuck with the same error message. Additional attempts to clone just gets the same error message without the username/password dialog prompts.Īnd even after fixing ssh by adding your public key to the remote user's. ssh/authorized_keys file, but this is the message you get from Xcode.Īnd now it's stuck. The real error is that your newly created public key is missing from the remote. Now you get "An unknown error occurred" and "username does not match previous request (-1)" Now it (appropriately) fails and you see "Unknown error" in the dialog. Hit Clone, then Trust to accept the remote hosts's id. Hitting "SSH Keys" again will get it to notice they exist now. Minor bug: the dialog still thinks there are no existing keys. Give it a passphrase, let it save your keys in the default. Xcode notices you don't have ssh keys yet, and offers to create them. In the username authentication dialog that pops up, switch from "Username and Password" to "SSH Keys" both SSH and non-default remote username. ", paste the URL into the "Enter repository URL" field at the top. ssh directory or your public & private keys yet To trigger the bug (this is reliable, but is not the shortest method):Ĭreate a new local user (to be sure of no previous state)ĭo not create the. I've been able to both trigger and repair this problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |