Skip to content
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

[Windows]: Could not find ssh in the lookup path when installed with winget #491

Open
jeremyVignelles opened this issue Apr 3, 2024 · 0 comments

Comments

@jeremyVignelles
Copy link

OS : Windows 11 x64
mutagen 0.17.2

I'm trying to connect to an ssh server using mutagen sync create and the command fails with this error:

unable to identify 'ssh' command: unable to locate command

I've read the doc at https://mutagen.io/documentation/transports/ssh, which points to this link (btw, it should be this link instead, because the file has been moved and it now seems to look for the windows implementation).

Mutagen fails to properly find the windows ssh implementation (presumably because of the footnote on the doc : the fix has not landed), but it also fails to look for my git bash.

I installed git bash with the command winget install Git.Git with an unprivileged user, which installed git bash under %LOCALAPPDATA%\Programs\Git.

When I uninstalled git for windows and installed it again using the same command, but as administrator, the git install path is now the default C:\Programs one and is not picked up properly by mutagend

Is it possible to add %LOCALAPPDATA%\Programs\Git in the lookup path ?

Note : winget is one of the recommended installation method for git-for-windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant