Alexander Khitev
Alexander Khitev

Reputation: 6861

Could not read from remote repository. SwiftyDropbox

I created ssh key and added it to github. But when I launch $ ssh -vT [email protected] I got the error Permission denied (publickey). I tried several different methods but I got the same error. Still I want to add SwiftyDropbox to my project but I get Permission denied (publickey). fatal: Could not read from remote repository. But I all made by order. I don't know what do I do? Please help me.

    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 [email protected]: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.

Upvotes: 1

Views: 523

Answers (2)

Alexander Khitev
Alexander Khitev

Reputation: 6861

After create a new ssh key and I added it in my github account, it is working for me.

Upvotes: 2

Related Questions