1

I downloaded the GitHub for Windows, after installing it I try to clone my app i just created from Pagodabox. I'm using the PowerShell and try to clone it:

git clone git@git.pagodabox.io:apps/******.git *****

But there is an error: The SSH Key provided not authorized for this repo. I dunno what to do.

Altiano Gerung
  • 824
  • 2
  • 15
  • 28

2 Answers2

2

1. Add the public SSH Key of GitHub for Windows to Pagodabox

The public key file is located in C:\Users\<user>\.ssh\github_rsa.pub. Open thefile and copy the key.
Open Pagodabox->SSH Keys-> New SSH Key. Give it a name then paste the key.

2. Add the public SSH Key of Your App to GitHub

Select your app-> Dev Config-> Public SSH Key. Copy the key.
Open GitHub-> Settings-> SSH Keys-> Add SSH Key. Give it a name then paste the key.

3. Clone it

Select your app-> Admin. Copy the git clone url.
Open the Git Shell installed together with GitHub application.
Run this command:
git clone <the_git_clone_url> <the_name_you_desired>

Thanks to @VonC for the help

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
Altiano Gerung
  • 824
  • 2
  • 15
  • 28
1

You can check out the pagodabox git ssh troubleshooting page, and double-check that you have added your SSH Key to your user account.

The basics of using git with Pagoda Box page do mention as repo url only the ssh one, so it is important your ssh key is properly registered, but also accessible from your %USERPROFILE%\.ssh(\id_rsa[.pub]).

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250