Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git clone: I get a strange authentication error

Tags:

git

github

I'm admin in a private github repo. Since this morning, when I try to clone that repo I get:

git clone https://github.com/myblabla/blabla.git
Cloning into 'blabla'...
Missing or invalid credentials.
Error: connect ENOENT /run/user/1000/vscode-git-fa9d1b661a.sock
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) {
  errno: 'ENOENT',
  code: 'ENOENT',

  syscall: 'connect',
  address: '/run/user/1000/vscode-git-fa9d1b661a.sock'
}
Missing or invalid credentials.
Error: connect ENOENT /run/user/1000/vscode-git-fa9d1b661a.sock
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'connect',
  address: '/run/user/1000/vscode-git-fa9d1b661a.sock'
}
remote: Repository not found.
fatal: Authentication failed for 

I never had that before. What's the fix?

When I do:

ssh -T [email protected]

I get:

[email protected]: Permission denied (publickey).
like image 392
user189035 Avatar asked May 11 '20 13:05

user189035


1 Answers

Try to open a new terminal in your VSCode, this may solve your problem.

like image 105
Ghadban135 Avatar answered Oct 05 '22 07:10

Ghadban135