question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GitHub Desktop doesn't support repositories from SSH servers with password

See original GitHub issue

The problem

My git shell is working well fetching ,pushing ,pulling and doing all other required operations. I am also able to do all operations using eclipse->team in my repository but GitHub desktop showing authentication error. these are my logs 2022-05-25T06:16:32.822Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 4 repositories took 2.4s of which 0.0s paused, total 2.4s 2022-05-25T06:23:06.835Z - error: [ui] git -c credential.helper= fetch --progress --prune origin exited with an unexpected code: 128. stderr: Permission denied, please try again. Permission denied, please try again. git@10.64.28.130: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). 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.)

Release version

3.0.0

Operating system

windows 10

Steps to reproduce the behavior

No response

Log files

2022-05-24.desktop.production.log

Screenshots

No response

Additional context

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:46 (20 by maintainers)

github_iconTop GitHub Comments

2reactions
Orokyunlesscommented, Jul 5, 2022

Leave me alone please.

0reactions
sergiou87commented, Jul 18, 2022

@cartoonsub if that repository is added to the list of repositories in Desktop, or if it’s a submodule of the repo you’re using, I guess git will try to fetch it and for that it will need your SSH credentials. Does that make sense?

Read more comments on GitHub >

github_iconTop Results From Across the Web

GitHub Desktop not connecting to server with SSH key+ ...
The problem · First "git.exe" command: C:\Users\XXX\AppData\Local\GitHubDesktop\app-3.0. · Second "git.exe" command: git.exe -c credential. · "ssh.
Read more >
Authentication Failure with GitHub Desktop · Issue #8860
- If you use SSH authentication, ensure the host key verification passes for your repository hosting service. - If you used username /...
Read more >
Connecting to GitHub with SSH
You can connect to GitHub using the Secure Shell Protocol (SSH), which provides a secure channel over an unsecured network.
Read more >
Support SSH password prompts #14677 - GitHub
This PR adds support for SSH password prompts when the user tries to interact with a repository via SSH and requires a password...
Read more >
Github Desktop for windows Fails - using passwords? #22370
Beginning August 13th, 2021, we will no longer accept account passwords when authenticating Git operations on GitHub.com. Said: “Desktop ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found