Xcode 10.1 push to github using ssh key

依然范特西╮ 提交于 2020-02-03 04:33:48

问题


I had created my ssh keys manually from command line and added to my gihub, gitlab accounts. Everything work fine e.g cloning, pushing, pulling etc using command line and source tree client.

The problem is when I try to push using xcode it gives me error saying that Authentication failed because the credentials were rejected. See screenshot

Please note that Xcode is able to clone the repos using ssh keys but is not able to push(for pushing the changes I either use command line or source tree).


回答1:


Create a key with the following command:

ssh-keygen -t rsa -C "xxx@yyyy.com" -m PEM

Should add -m PEM



来源:https://stackoverflow.com/questions/53879986/xcode-10-1-push-to-github-using-ssh-key

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!