I have an account over at www.xp-dev.com for my “self projects”. Recently I was trying to get Git to work. This cost me more hair being pulled out than I was expecting.
Leave any good/bad comments at the bottom, and click the cookies please. They help me out in knowing I helped you. Cheers.
1. Generate a key using PuttyGen
2. Save the private and public keys somewhere safe.
3. Open up the public key file and cut the “Key” out.
4. On the XPDev website: “Account” –> “Profile” and find the “Add a new Public Key”. Paste it in there without any of the Comments or BEGIN/END stuff. Save it.
If you get this message then you have added something you shouldn’t have:
An error has just occured. It has been logged and will be dealt with shortly.
If it is urgent, please contact our administrators.
5. Add a remote repository to your local repository using the GitExtensions UI or
NOTE: Your Git repository URL is:
git remote add –mirror==PUSH xpdev ssh://USERNAME@git.xp-dev.com/YOUR-REPO-NAME
6. Load the SSH key (or add it directly using PAgent), entering a password if you have one, then test the connection. It should say Shell logins are disabled. This is another way of saying you have authenticated, but you are not allowed to do anything via the Shell.
7. Push – Push it up. This should be the last time you use this specific local repo as you will clone one down in a second to replace it and doing so test the end result.
8. Clone – Clone the remote repo and use this new clone as your working repo.
1. Unable to open connection: host does not exist
2. Cloning into ‘X’…
error: cannot spawn C:\Program Files (x86)\Git Extentions\PuTTY\plink.exe: No such file or directory
fatal: unable to fork
I think the answer to this is the Program Files (x86) part. I think the shell script doesn’t handle this very well. I have no issues through GitExtensions UI so I won’t look for an answer.