You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a couple of repo's on my Windows 10 file system from which I can push through SSH to my private github desktop.
My ssh keys are fine, ssh -T git@github.com works great, but fetching from Github Desktop doesn't work.
Weird thing is that I can run the command git -c credential.helper= fetch --progress --prune --recurse-submodules=on-demand origin and updates on Github Desktop.
Things that I've tried
Log out and login on Github Desktop.
Uninstall (Deledted Roaming and AppData folders) and installed it back.
Saved again Name and Email on File>Options>Git tab.
Changed file permisions to ssh keys on Ubuntu to 744 to test, didnt work so changed it back to 700.
Release version
Version 3.1.3 (x64)
Operating system
Windows 10 Pro 21H2
Steps to reproduce the behavior
No response
Log files
2023-01-10T16:43:05.211Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: REPONAME - PabloOyarzo (has token)
2023-01-10T16:43:05.873Z - error: [ui] git -c credential.helper= fetch --progress --prune --recurse-submodules=on-demand origin exited with an unexpected code: 128.
stderr:
Warning: Permanently added the ECDSA host key for IP address '140.82.114.4' to the list of known hosts. 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.
(The error was parsed as 2: Authentication failed. Some common reasons include:
You are not logged in to your account: see File > Options.
You may need to log out and log back in to refresh your token.
You do not have permission to access this repository.
The repository is archived on GitHub. Check the repository settings to confirm you are still permitted to push commits.
If you use SSH authentication, check that your key is added to the ssh-agent and associated with your account.
If you use SSH authentication, ensure the host key verification passes for your repository hosting service.
If you used username / password authentication, you might need to use a Personal Access Token instead of your account password. Check the documentation of your repository hosting service.)
2023-01-10T16:43:14.442Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: REPONAME - PabloOyarzo (has token)
2023-01-10T16:43:15.035Z - error: [ui] git -c credential.helper= fetch --progress --prune --recurse-submodules=on-demand origin exited with an unexpected code: 128.
stderr: 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.
(The error was parsed as 2: Authentication failed. Some common reasons include:
You are not logged in to your account: see File > Options.
You may need to log out and log back in to refresh your token.
You do not have permission to access this repository.
The repository is archived on GitHub. Check the repository settings to confirm you are still permitted to push commits.
If you use SSH authentication, check that your key is added to the ssh-agent and associated with your account.
If you use SSH authentication, ensure the host key verification passes for your repository hosting service.
If you used username / password authentication, you might need to use a Personal Access Token instead of your account password. Check the documentation of your repository hosting service.)
Screenshots
Error:
Before and after running command from wsl ubuntu on the repo's dir.
Before:
After:
Additional context
No response
The text was updated successfully, but these errors were encountered:
The problem
I have a couple of repo's on my Windows 10 file system from which I can push through SSH to my private github desktop.
My ssh keys are fine,
ssh -T git@github.com
works great, but fetching from Github Desktop doesn't work.Weird thing is that I can run the command
git -c credential.helper= fetch --progress --prune --recurse-submodules=on-demand origin
and updates on Github Desktop.Things that I've tried
Release version
Version 3.1.3 (x64)
Operating system
Windows 10 Pro 21H2
Steps to reproduce the behavior
No response
Log files
2023-01-10T16:43:05.211Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: REPONAME - PabloOyarzo (has token)
2023-01-10T16:43:05.873Z - error: [ui]
git -c credential.helper= fetch --progress --prune --recurse-submodules=on-demand origin
exited with an unexpected code: 128.stderr:
Warning: Permanently added the ECDSA host key for IP address '140.82.114.4' to the list of known hosts.
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.
(The error was parsed as 2: Authentication failed. Some common reasons include:
2023-01-10T16:43:14.442Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: REPONAME - PabloOyarzo (has token)
2023-01-10T16:43:15.035Z - error: [ui]
git -c credential.helper= fetch --progress --prune --recurse-submodules=on-demand origin
exited with an unexpected code: 128.stderr:
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.
(The error was parsed as 2: Authentication failed. Some common reasons include:
Screenshots
Error:
Before and after running command from wsl ubuntu on the repo's dir.
Before:
After:
Additional context
No response
The text was updated successfully, but these errors were encountered: