Answer the question
In order to leave comments, you need to log in
Github: Can't login via console. Reports that the check passed, but access is denied, why?
Good afternoon!
I have always used desktop software to work with the git repository, now I need to work through the console. Once upon a time, I created an ssh key with a password, worked a little in the console and closed ...
Now I'm trying to log in using the command ssh -T [email protected]
, in response I get an error message:
Error :
PTY allocation request failed on channel 0 You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
fatal: this operation must be run in a work tree
Answer the question
In order to leave comments, you need to log in
No ssh commands work here, it's the wrong protocol. The git commands other than git init must be called in the directory where the git repository is initiated (where there is a hidden .git directory)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question