Replies: 3 comments 4 replies
-
Hi @Hoet, It sounds like you might need to add your SSH key to your GitHub account (you can do this by going to https://github.com/settings/keys). After you've done that, (assuming you haven't already), have a read through this page that should walk you through the troubleshooting steps.
|
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
@Hoet try this: https://gist.github.com/bondarenkod/20e96267a46f78bf98d3e999d04c102f |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
General
Body
using windows 10
Putty as my regular ssh client with Pageant as ssh-agent
When I try to clone a test repository, I get a Permission denied. See below for the log.
git clone git@github.com:Hoet/mauricetest.git
Cloning into 'mauricetest'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
When I connec via the putty client to port 22 I get the following output
Using username "git".
Authenticating with public key "" from agent
Server refused to allocate pty
Hi Hoet! You've successfully authenticated, but GitHub does not provide shell access.
So it seems that my key is correct and accepted.
Never had any issues working this way. Normaly I connect to GitLab repositories. It has been ages the last time I connected to GitHub.
Beta Was this translation helpful? Give feedback.
All reactions