简体   繁体   English

Xcode 10没有使用ssh推送

[英]Xcode 10 not pushing using ssh

I'm using Xcode 10.1. 我正在使用Xcode 10.1。 I have a repository on BitBucket and I use SSH keys push to the repository. 我在BitBucket上有一个存储库,我使用SSH密钥推送到存储库。

Everything is working fine if I push using terminal. 如果我推使用终端,一切都很好。 When I try using Xcode to push, I receive the following message: 当我尝试使用Xcode推送时,我收到以下消息:

在此输入图像描述

How do I fix this? 我该如何解决?

The solution was to create a new key from Xcode and use that. 解决方案是从Xcode创建一个新密钥并使用它。 I still have no idea why the key created from terminal using ssh-keygen . 我仍然不知道为什么使用ssh-keygen从终端创建密钥。 I tried using ssh-key -t rsa , it did not work either. 我尝试使用ssh-key -t rsa ,它也ssh-key -t rsa The only time it actually works is when the SSH keys are generated from the Xcode. 它实际工作的唯一时间是从Xcode生成SSH密钥。

I guess this is a bug. 我猜这是一个错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM