Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Help needed - gitsync permission denied

Started by Joel Marks 2 years ago · 0 replies · 172 views
2 years ago

Hi there. This is blatantly a RTFM issue but I'm really not getting anywhere.

I've managed to SSH into my shared hosting (Greengeeks cPanel) and I've set up a key so I can access github, placing the .pub key in github. I've then managed to clone my repo which is a skeleton Learn2 that I pushed to git from my laptop.

I then go into the web admin and try to setup gitsync and I get the following:

User entered is the github user name (not email)
Pwd entered is the pwd used to gain access to the github site via web browser
Repo name is the ssh one as if I enter the http one it give an error from git saying it's not supported any more.

[email protected]:joel-marks/my-repo.git

On testing by clicking Verify I get the following:

[email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.


Any help greatly appreciated 🙂

Suggested topics

Topic Participants Replies Views Activity
General · by Hanns Mattes, 3 weeks ago
1 268 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 196 3 weeks ago
General · by Jerry Hunt, 3 weeks ago
2 331 3 weeks ago
General · by pamtbaau, 3 weeks ago
1 253 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 222 3 weeks ago