New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh.exe not found after update to 3.5.2 #9464
Comments
What is the value in Settings? With the OpenSSH in Git the value uses empty value for the corresponding backing registry key gitssh in [HKEY_USERS\SOFTWARE\GitExtensions] |
Right after the update, it was set to |
@mstv did you work in this area lately? |
@gerhardol did. I changed the handling of the Linux Tools dir (a.k.a. |
The problem that the ssh path is changed at upgrades is not new, it has occurred for me for at least five years. Problem is hard to pinpoint it seems. There is something in the installer that occasionally changes the paths, before 3.5.2 reverting to PuTTY. Maybe flipping the setting? Will be "solved" in master when PuTTY binaries are dropped from GE and the stage is removed in the installer. Draft in #9386 (awaiting that WiX installer works with .NET5). It may also not be possible to select the paths to 64bit executables, discussed in #9355. GE will not use the GIT_SSH path internally anyway, so that should be allowed. It is OK to change this manually though. The search paths are preferring the x86 paths too, changed in #9386 too. I do not want to change the installer in 3.5. The preferred path handling in #9386 and maybe possibility to select paths as mentioned in #9355 should maybe be applied. -- |
When we search for ssh, should we search under |
If OpenSSH is used the path should be empty as the ash bundled with Git should be used. If using plink or other, search should be done only in settings, no other adjustments. |
To be clear: GE never uses ssh.exe, only passes on the configuration to Git. |
An unknown ssh path is not a problem in itself, ge as a 32 bit app may not be able to check the path. Ge never accesses the path, just set the env var for Git. |
I'm just trying to think how we can alert a user to the issue
|
See also #9355 Also #9386 is related, removing PuTTY and changes search paths to PuTTY binaries. -- Most users use the standard OpenSSH with Git which is handled as an empty path in GE settings. The check in Checklist will check the path if it exists or not which may be incorrect. The text in master is changed in this situation to state that the path is not found (as well as reporting Other rather than Unknown for other paths). master will also try to 'migrate' paths that are explicitly set if they match the Git OpenSSH path. -- So a path check could be done at first startup after upgrade (already there?), to display this better. But GE app does not manipulate the SSH path to cause these problems. Maybe some plugin is involved? -- Related, not a problem here though. |
Current behaviour
Cannot git push. When pushing to repository, an error appeared. See screenshot.
Expected behaviour
Git push works
Steps to reproduce
C:\Program Files\Git\usr\bin\ssh.exe
Screenshots
There should be a screenshot
Did this work in previous version of GitExtensions
Environment
Diagnostics
The text was updated successfully, but these errors were encountered: