I’m very comfortable with doing all the routine git stuff from the command line, but it was bugging me that I hadn’t for the Xcode integration working. I was able to commit locally with no problem from Xcode, but could not push up to Github. It works fine from the command line, so the error about the change to a stronger SSH authentication didn’t really make sense to me.

ERROR: You’re using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type.
This post from pasllani on the Apple Developer forums was super helpful, the only thing they missed was that you need to restart Xcode before it will work. The steps were:
- Generate a new ECDSA SSH key with
ssh-keygen -t ecdsa -C "IanKulin@kulin.com.au" - Copy the key to the keyboard with
pbcopy < ~/.ssh/id_ecdsa.pub - On Github, add the new SSH key, and while you’re there, generate a new Token in Developer Tools
- In XCode, delete your github account, then recreate it specifying SSH and choose the ECDSA key. It will need the access token at this stage.
- Restart XCode
Other git/Github posts
- Intro to git – Gitting Started
- Common git commands – Gitting the Hang of it
- Merge vs rebase
- Create an Empty Folder on Github
- Download a Directory from a Github repo
- Download a File from Github
Leave a comment