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

webfactory/ssh-agent is not working with setup-msys2 #263

Open
mojca opened this issue Nov 8, 2022 · 1 comment
Open

webfactory/ssh-agent is not working with setup-msys2 #263

mojca opened this issue Nov 8, 2022 · 1 comment
Labels
question Further information is requested

Comments

@mojca
Copy link

mojca commented Nov 8, 2022

I described the problem in webfactory/ssh-agent#149 and I'm not actually sure which action needs to be fixed, but it would certainly be helpful to collaborate to find a suitable solution.

The webfactory/ssh-agent action allows specifying a private SSH key to fetch dependencies via CMake's FetchContent functionality. It seems to work successfully on all major platforms: Linux, macOS and Windows, but I'm not sure how to make it work from within the msys2 shell.

@eine
Copy link
Collaborator

eine commented Nov 25, 2022

When using SSH (or git) on MSYS2, private keys are searched for at ~/.ssh/, which defaults to <path-to-msys2-installation-drive-or-path>/msys64/home/<user>/.ssh. Therefore, I guess that webfactory/ssh-agent needs to accept some option to put the private keys there, instead of somewhere else.

@eine eine added the question Further information is requested label Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants