我创建了ssh密钥并将其添加到github中。但是,当我启动$ ssh -vT git@github.com时,错误权限被拒绝(公开密钥)。我尝试了几种不同的方法,但得到了同样的错误。尽管如此,我还是想将SwiftyDropbox添加到我的项目中,但是我的权限被拒绝了(公开密钥)。致命性:无法从远程存储库读取。,但我都是按订单进行的。我不知道我该怎么办?请帮帮我。
I make following for install SwiftyDropbox
MacBook-Pro:~ Alexsander$ cd Desktop
MacBook-Pro:Desktop Alexsander$ cd Apple
MacBook-Pro:Apple Alexsander$ cd Development
MacBook-Pro:Development Alexsander$ cd TestCocao
MacBook-Pro:TestCocao Alexsander$ cd PodsTest
MacBook-Pro:PodsTest Alexsander$ pod setup
Setting up CocoaPods master repo
Setup completed
MacBook-Pro:PodsTest Alexsander$ touch Podfile
MacBook-Pro:PodsTest Alexsander$ open Podfile
MacBook-Pro:PodsTest Alexsander$ pod install
Updating local specs repositories
[!] Error installing SwiftyDropbox
[!] /usr/bin/git clone git@github.com:dropbox/SwiftyDropbox.git /var/folders/vl/6w14j04s5n11cgfcrgwdql940000gn/T/d20151002-1479-17ri6hu --single-branch --depth 1 --branch 0.4
Cloning into '/var/folders/vl/6w14j04s5n11cgfcrgwdql940000gn/T/d20151002-1479-17ri6hu'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.发布于 2015-10-02 16:41:56
在创建了一个新的ssh键并将其添加到我的github帐户后,它为我工作。
发布于 2022-11-29 19:42:29
https://stackoverflow.com/questions/32910880
复制相似问题