Repository navigation
Description
I have had some problems concerning the askpass-trampoline.bat issue.
When I try to push my commits or fetch origin on GitHub Desktop 2.5.5 on Windows 10 Home, it pops up with an askpass-trampoline.bat error. l have tried many theoretical solutions; logging in and out, deleting the contents of %AppData%/GitHub Desktop/ & %LocalAppData%/GitHubDesktop/ and had a 'publickey' issue when running most commands on the Git command line, which rules out using SSH (see old issue below!). I have tried everything it says in the help document on the issue, and all of the solutions were not very helpful. This issue is persisting on all of my repositories.
Proposed solution
How will it benefit Desktop and its users?
It will save Desktop users from having to experience the inconvenience for having to dig through the history of GitHub Desktop issues and may solve a unique unreported problem like what I have been encountering.
Reference and links
I have viewed issues/articles #8860, #9641, #6538, #7982, #9776, https://github.community/t/github-says-authentication-failed/554/7, #2623, #4124, #6879, #6882.
publickey issue in docs
Help document
2020-12-20T09:03:18.785Z - info: [ui] [AppStore] loading 15 repositories from store
2020-12-20T09:03:18.788Z - info: [ui] [AppStore] found account: SuperHarmony910 (SuperHarmony910)
2020-12-20T09:03:20.087Z - info: [ui] Executing getRemotes: git remote -v (took 1.263s)
2020-12-20T09:03:20.277Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 1.424s)
2020-12-20T09:03:21.061Z - info: [ui] launching: 2.5.6 (Windows 10.0.19041)
2020-12-20T09:03:21.062Z - info: [ui] execPath: 'C:\Users\name-omitted\AppData\Local\GitHubDesktop\app-2.5.6\GitHubDesktop.exe'
2020-12-20T09:03:21.237Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 1.136s)
2020-12-20T09:03:21.582Z - info: [ui] Executing getCommits: git log 583cbc6b716e8ac0cc713d6d40efba76954d7ec4 --date=raw --max-count=1 --pretty=%H%x1F%h%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%cn <%ce> %cd%x1F%P%x1F%(trailers:unfold,only)%x1F%D -z --no-show-signature --no-color -- (took 1.069s)
2020-12-20T09:03:22.014Z - info: [ui] Stats reported.
2020-12-20T09:03:23.314Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 1.313s)
2020-12-20T09:03:25.970Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(objectname:short)%00%(author)%00%(committer)%00%(symref)%00%1F refs/heads refs/remotes (took 3.498s)
2020-12-20T09:03:26.033Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(objectname:short)%00%(author)%00%(committer)%00%(symref)%00%1F refs/heads refs/remotes (took 2.731s)
2020-12-20T09:03:26.365Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 2.990s)
2020-12-20T09:03:26.496Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 4.013s)
2020-12-20T09:03:26.662Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 2.844s)
2020-12-20T09:03:28.388Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: base-generator - SuperHarmony910 (has token)
2020-12-20T09:03:28.794Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 8.113s)
2020-12-20T09:03:30.195Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 1.281s)
2020-12-20T09:03:30.311Z - info: [ui] Executing getChangedFiles: git log 583cbc6b716e8ac0cc713d6d40efba76954d7ec4 -C -M -m -1 --no-show-signature --first-parent --name-status --format=format: -z -- (took 1.374s)
2020-12-20T09:03:31.875Z - info: [ui] Executing getConfigValueInPath: git config -z pull.rebase (took 1.045s)
2020-12-20T09:03:31.939Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 3.354s)
2020-12-20T09:03:31.949Z - error: [ui] `git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin` exited with an unexpected code: 128.
stderr:
The syntax of the command is incorrect.
error: unable to read askpass response from 'C:\Users\name-omitted\AppData\Local\GitHubDesktop\app-2.5.6\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled
2020-12-20T09:03:34.184Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: base-generator - SuperHarmony910 (has token)
2020-12-20T09:03:34.981Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: design-artist - SuperHarmony910 (has token)
2020-12-20T09:03:35.422Z - info: [ui] Executing push: git -c credential.helper= -c protocol.version=2 push origin master:master --progress (took 1.046s)
2020-12-20T09:03:35.423Z - error: [ui] `git -c credential.helper= -c protocol.version=2 push origin master:master --progress` exited with an unexpected code: 128.
stderr:
The syntax of the command is incorrect.
error: unable to read askpass response from 'C:\Users\name-omitted\AppData\Local\GitHubDesktop\app-2.5.6\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled
2020-12-20T09:03:36.129Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.012s)
2020-12-20T09:03:36.130Z - error: [ui] `git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin` exited with an unexpected code: 128.
stderr:
The syntax of the command is incorrect.
error: unable to read askpass response from 'C:\Users\name-omitted\AppData\Local\GitHubDesktop\app-2.5.6\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled
2020-12-20T09:03:39.592Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: extensible-markup - SuperHarmony910 (has token)
2020-12-20T09:03:43.427Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 3.575s)
Updated 20 December 2020 20:30 AEDT
You will now be viewing the old issue, this is only to preserve what happened in the previous circumstances as an archive, fixed in #10363 (comment)!
Old issue:
I have had some problems concerning the 'Authentication failed' issue.
When I try to push my commits or fetch origin on GitHub Desktop 2.5.4 on Windows 10 Home, it pops up with an 'Authentication failed' error. The suggestions aren't very helpful, as I've logged in and out, created and associated my account with SSH keys (git/ssh-agent), deleted the contents of %APPDATA%/GitHubDesktop/ and had a 'publickey' issue when running most commands on the Git command line. I have tried everything it says in the article on publickey, and all of the issues' solutions were not very helpful. This issue was persisting on all of my repositories.
This issue is the result of trying to fix an askpass.bat issue, in which I consulted issue #2623 and Stack Overflow for assistance (This issue has reoccurred after I switched back to HTTPS, the Stack Overflow issue fix unknowingly made me switch to SSH, explained in more detail at #10363 (comment)).
Proposed solution
How will it benefit Desktop and its users?
It will save Desktop users from having to experience the inconvenience for having to dig through the history of GitHub Desktop issues and may solve a unique unreported problem like what I have been encountering.
Reference and links
I have viewed issues/articles #8860, #9641, #6538, #7982, #9776, https://github.community/t/github-says-authentication-failed/554/7

publickey issue in docs: https://docs.github.com/en/github/authenticating-to-github/error-permission-denied-publickey
Old logfile from old issue:
Logfile: 2020-08-11T05:37:16.545Z - info: [ui] [AppStore] loading 10 repositories from store
2020-08-11T05:37:16.548Z - info: [ui] [AppStore] found account: SuperHarmony910 (SuperHarmony910)
2020-08-11T05:37:18.160Z - info: [ui] launching: 2.5.3 (Windows 10.0.19041)
2020-08-11T05:37:18.161Z - info: [ui] execPath: 'C:\Users\name private\AppData\Local\GitHubDesktop\app-2.5.3\GitHubDesktop.exe'
2020-08-11T05:37:19.053Z - info: [ui] Stats reported.
2020-08-11T05:37:19.695Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 1.895s)
2020-08-11T05:37:22.074Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 3.951s)
2020-08-11T05:37:26.805Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: genuine-first-public-class-train - SuperHarmony910 (has token)
2020-08-11T05:37:26.991Z - info: [ui] proxy url not resolved, protocol not supported
2020-08-11T05:37:29.325Z - info: [ui] Executing push: git -c credential.helper= -c protocol.version=2 push origin master:master --progress (took 2.323s)
2020-08-11T05:37:29.327Z - error: [ui] git -c credential.helper= -c protocol.version=2 push origin master:master --progress exited with an unexpected code: 128.
stderr:
[email protected]: 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.)
2020-08-11T05:37:33.220Z - info: [ui] proxy url not resolved, protocol not supported
2020-08-11T05:37:35.761Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 2.311s)
2020-08-11T05:37:35.762Z - error: [ui] `git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin` exited with an unexpected code: 128.
stderr:
[email protected]: 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.)
2020-08-11T05:38:26.331Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: genuine-first-public-class-train - SuperHarmony910 (has token)
2020-08-11T05:38:26.431Z - info: [ui] proxy url not resolved, protocol not supported
2020-08-11T05:38:28.298Z - info: [ui] Executing push: git -c credential.helper= -c protocol.version=2 push origin master:master --progress (took 1.862s)
2020-08-11T05:38:28.300Z - error: [ui] `git -c credential.helper= -c protocol.version=2 push origin master:master --progress` exited with an unexpected code: 128.
stderr:
[email protected]: 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.)
2020-08-11T05:38:57.315Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: genuine-first-public-class-train - SuperHarmony910 (has token)
2020-08-11T05:38:57.445Z - info: [ui] proxy url not resolved, protocol not supported
2020-08-11T05:38:59.334Z - info: [ui] Executing push: git -c credential.helper= -c protocol.version=2 push origin master:master --progress (took 1.883s)
2020-08-11T05:38:59.335Z - error: [ui] `git -c credential.helper= -c protocol.version=2 push origin master:master --progress` exited with an unexpected code: 128.
stderr:
[email protected]: 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.)
2020-08-11T05:39:18.843Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: base-generator - SuperHarmony910 (has token)
2020-08-11T05:39:18.845Z - info: [ui] proxy url not resolved, protocol not supported
2020-08-11T05:39:20.721Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.782s)
2020-08-11T05:39:20.721Z - error: [ui] `git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin` exited with an unexpected code: 128.
stderr:
[email protected]: 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.)
2020-08-11T05:39:24.148Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 2.234s)
2020-08-11T05:39:25.215Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: design-artist - SuperHarmony910 (has token)
2020-08-11T05:39:25.215Z - info: [ui] proxy url not resolved, protocol not supported
2020-08-11T05:39:27.161Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.859s)
2020-08-11T05:39:27.162Z - error: [ui] `git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin` exited with an unexpected code: 128.
stderr:
[email protected]: 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.)
2020-08-11T05:39:29.405Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 1.413s)
2020-08-11T05:39:31.051Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: genuine-first-public-class-train - SuperHarmony910 (has token)
2020-08-11T05:39:31.052Z - info: [ui] proxy url not resolved, protocol not supported
2020-08-11T05:39:33.000Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.811s)
2020-08-11T05:39:33.000Z - error: [ui] 'git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin' exited with an unexpected code: 128.
stderr:
[email protected]: 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.)
2020-08-11T05:39:45.285Z - info: [ui] Background fetch for 10 repositories took 28.554sec
2020-08-11T05:42:54.528Z - info: [ui] proxy url not resolved, protocol not supported
2020-08-11T05:42:56.594Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.764s)
2020-08-11T05:42:56.594Z - error: [ui] `git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin` exited with an unexpected code: 128.
stderr:
[email protected]: 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.)
Updated 13 September 2020 16:50 AEST
Activity
niik commentedon Aug 11, 2020
Hi @SuperHarmony910, I'm sorry to hear you're having problems authenticating. I see that you're using the SSH protocol in your repositories. Presumably because of the previous issues you had with
askpass.bat. While many of our users are happily using SSH in conjunction with GitHub Desktop our support for it is basic at best. We're tracking potential future work to improve our support for SSH remotes in #2579.Given that you're previous issue with
askpass.bathas been resolved would you be able to switch back to using the http protocol?SuperHarmony910 commentedon Aug 12, 2020
@niik Thank you for providing some assistance to my issue! I have converted to HTTPS protocol, will you(or anybody else) please elaborate on which steps I have to take next?
P.S. In the image above, no error was outputted from the Git command line.
SuperHarmony910 commentedon Aug 12, 2020
I haven't been a frequent user of GitHub until about 4 months ago; I really do not know what SSH protocol is. GitHub's usually been a flexible and reliable place to store my code, but this is quite a hindrance to my projects. Git command line is new to me, but I am persevering to familiarise myself with it, to prevent such events from occurring.
niik commentedon Aug 12, 2020
@SuperHarmony910, my apologies. Since GitHub Desktop will use the HTTP protocol for repositories out of the box I assumed that you had manually changed the protocol to SSH. I'm sorry for not providing more detailed instructions and I'm happy to see you were able to work your way around that.
Please verify that the updated remote URL is shown in the repository settings (
Repositorymenu followed byRepository Settings)Does the authentication issue still exist after you've switched protocols? If so please provide an updated log file for us to look at.
SuperHarmony910 commentedon Aug 13, 2020
@niik This is quite a predicament I have gotten myself into; once I've performed the command
git remote set-url origin https://github.com/SuperHarmony910/genuine-first-public-class-train.git, I open up 'Repository settings' in GitHub Desktop, and the text box above is written [email protected]*, which I believe is SSH protocol from the articles I've read. This was the command that was recommended by the Git docs. Could I please ask once more for your assistance?Also, I did download GitHub Desktop in December of 2019, did the HTTP protocol still come out of the box then?
*What is the purpose of the 'Save' button above? When I tried to change the URL to what it looks like in your comment, when the Git command didn't work, the button hadn't changed the remote URL after I had tried to change it manually.
P.S. I could use Git to fix the authentication commit problem, but then that would defeat the purpose of GitHub Desktop.
P.P.S I had been asked by @steveward to create this issue at #9641 (comment)
steveward commentedon Aug 13, 2020
The
git@githubURL is the SSH protocol. GitHub Desktop has always defaulted to using HTTPS, and this is what we still recommend using unless there is a specific situation where you would need to use SSH.The 'Save' button should store the updated remote URL, just like the
git remote set-urlcommand. The only reason I can think of it not updating would be if it is unable to write to your.git/configfile. Can you rungit config --edit --localand try changing this line in the config file?After updating that see if you are able to save the change and if it appears correctly in GitHub Desktop.
SuperHarmony910 commentedon Aug 14, 2020
@steveward It just gets worse, the
git remote set-urldid work, according to the Git config file which showed up when I had performed the recommended command, yet it still shows up as [email protected] in 'Repository settings' on Desktop, I am thoroughly perplexed on which steps to take. If you would like me to attach a recording, I will gladly do so to prevent this from happening. Do I need to run Git as admin, or update my version of GitHub Desktop (if there is one available, and I've been too naive to notice a manual updater)?Another issue I'm having is that when I try to open Visual Studio Code through GitHub Desktop, it doesn't open, it tries to fetch origin but it fails and doesn't try to open the editor, why should 'fetch origin' stop me from opening VS Code, is it because it still believes I am not authenticated? It is slightly annoying, but I can get around that easily opening VS Code manually and looking for the folder; VS Code thankfully does recognise "master"!
P.S. It doesn't help when we're on the other side of the world 🙃 (I'm in Australia.)
SuperHarmony910 commentedon Aug 18, 2020
Could I ask for more assistance, please? This issue does render me unable to use GitHub locally other than opening the command line, which is a slight inconvenience, especially as some of my files have names with whitespace, which have prevented me from running the command
git add. @steveward The issue is making no sense, it simple, concise and understandable, the solutions to the issue, yet it proves to be a tedious task, as it is not complying with the configuration file.steveward commentedon Aug 18, 2020
@SuperHarmony910 can you create a test repository to see if you are able to reproduce the issue with editing the remote URL of a repository there? That would help narrow down if this is a specific issue with that repository. It may be worth trying to remove the repository from GitHub Desktop and add it back to see if that helps with the remote configuration.
I'm not sure why Visual Studio Code wouldn't be opening -- do any other text editors work?
SuperHarmony910 commentedon Aug 18, 2020
Sure @steveward! Although I will have to do it tomorrow. And I will try out Notepad++ to see if that works, I will mention the repo here. I wonder if I will have to re-clone it after changing the config file, it may be as simple as that!
SuperHarmony910 commentedon Aug 19, 2020
The issue is ongoing @steveward, the new repository did not change the conditions, I was expecting it. I had tried on my other repositories and none of them could push to 'origin'. The repository can be found at github.com/SuperHarmony910/dummy-repo. I am at an utterly baffled; why would this be a personal issue. The only action I can think of is deleting my
C/Users/name/.ssh/id_rsaSSH key. Would you be able to give me some extra advice, although this may have mystified you as much as I, for this is a sole issue? Thank you for the help, I am happy to be part of a great society here on GitHub.SuperHarmony910 commentedon Aug 19, 2020
Notepad++ works, which is a good sign, but I have so many queries as to why VS Code isn't opening and why Desktop isn't authenticating, last week it worked like a charm, and now its come up with a unique issue promising an unforeseeable future. Quite a dilemma @steveward.
SuperHarmony910 commentedon Aug 21, 2020
This seems more and more seeming to be a

publickeyissue, for when I try to push and pull from the integrated Git extension in Visual Studio Code, I get this error code:This also points to SSH; [email protected] is obvious. My question to GitHub staff, @steveward, is that if there is a separate issue dedicated to SSH issues? If so, I hope that there is a solution, for this is an issue that disables you from using Desktop. Is the issue the one mentioned by @niik, #2579?
steveward commentedon Aug 21, 2020
We do have a list of SSH issues in #2579. I wonder if you have the config option set to force Git to use SSH instead of HTTPS. Could you share the output of this command?
git config --list --show-origin30 remaining items
SuperHarmony910 commentedon Oct 1, 2020
@steveward Something intriguing I seem to have stepped upon. When I perform the command you have supplied me with, it comes up with an 'OpenSSH' dialog box, as shown below!
It asks for my username and password, which I did supply it with (I am not sure if I trust it, although it is from Git command line and is SSH) and I repetitively receive this message after typing in my details, which I have tried to avoid:
I am slightly quizzical on what I should do in this point of time, resorting to Git and GitHub CLI (Thanks for the explanation and I'm grateful it works from Git and CMD) but maybe that's how it'll rock and roll, although, however much my uncertainty increases on whether I use Desktop again, it doesn't really matter. I can still commit from there and just perform
git pushin the command line, and I have technically migrated to Git, but it would be great to still have that convenience and peace of mind looking at a UI SCM tool rather than CLI SCM tool.SuperHarmony910 commentedon Oct 2, 2020
I'm going to try reinstalling GitHub Desktop once more, hopeful fix?!
Edit: Unsuccessful. D:
SuperHarmony910 commentedon Oct 7, 2020
I've just remembered! File Explorer hides certain types of system files, for example, the Boot Manager for Windows 10, that executable is hidden. So maybe, there might be a registry entry or setting that will allow me to view
HKEY_CURRENT_USER\Software\Microsoft\Command Processor? Would you be able to offer me counsel on this potential solution @steveward?SuperHarmony910 commentedon Nov 24, 2020
Has this issue been abandoned, or is still being worked on? I won't be able to give information until probably late December; my laptop's charger seems to be faulty.
steveward commentedon Dec 18, 2020
@SuperHarmony910 the fact that you are still getting the SSH prompt when using HTTPS makes me think your config file still hasn't been fixed. Can you share the output of
git config --list --show-originagain?SuperHarmony910 commentedon Dec 20, 2020
Sorry for the delay, I was on school holidays.
Here is the output:
SuperHarmony910 commentedon Dec 20, 2020
@steveward A couple more questions.
Has a new version of GitHub Desktop been released within the last two months; my absence has been of a lengthy time.
Do you believe this to be an issue specific to my computer or to other computers as well?
And also, just to confirm, the issue persists with no alteration to the error message.
I have also updated the log, it seems to have altered.
(I'm craving this dark theme.)
steveward commentedon Feb 25, 2021
@SuperHarmony910 please download the latest beta, which has a fix for the issue. We'd appreciate you testing it out and letting us know if you run into any problems. Thanks!
SuperHarmony910 commentedon Feb 25, 2021
I would love to try out the new beta, and I'll keep you updated on any issues that I encounter. I just wanted to ask whether this was computer-specific to my personal computer? If so, could you please give me any details to alleviate the risk of this issue happening again, thanks for the help!
steveward commentedon Feb 25, 2021
@SuperHarmony910 this was an error that happened for a variety of reasons on Windows machines. With the new implementation that was shipped it should not happen again.
SuperHarmony910 commentedon Feb 25, 2021
Ah, okay. Thanks for letting me know!
SuperHarmony910 commentedon Feb 27, 2021
Yep, the beta works! Cheers @steveward and thanks for the help! In the meantime, I leant the entirety of Git; quite useful to know.