Xcode 10 not pushing using ssh

335 views Asked by At

I'm using Xcode 10.1. I have a repository on BitBucket and I use SSH keys push to the repository.

Everything is working fine if I push using terminal. When I try using Xcode to push, I receive the following message:

enter image description here

How do I fix this?

1

There are 1 answers

0
Mitul Jindal On BEST ANSWER

The solution was to create a new key from Xcode and use that. I still have no idea why the key created from terminal using ssh-keygen. I tried using ssh-key -t rsa, it did not work either. The only time it actually works is when the SSH keys are generated from the Xcode.

I guess this is a bug.