-
Notifications
You must be signed in to change notification settings - Fork 343
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
Cannot use SSH credentials inside the dev container with Git #1291
Comments
Hi @flaprimo, thanks for reporting the issue. If you SSH agent is active, DevPod automatically forwards your private keys from |
Hi @pascalbreuninger thank you for the prompt response. I've verified that the SSH agent is running on Windows:
I've removed as you suggested:
But I still cannot perform git operations:
To note that in my
Credentials are not copied over (should I expect that?):
|
Ah I see, I wasn't aware of the SSH config for you git hoster. And can you confirm running |
Thank you! It seems that we achieved some things:
BUT, when trying to do a
|
What happened?
I cannot use Git inside the dev container with imported SSH credentials from Windows to interact with the repository.
The error is "Bad owner or permissions on /home/vscode/.ssh/config".
What did you expect to happen instead?
To leverage the imported SSH credentials to interact with Git.
How can we reproduce the bug? (as minimally and precisely as possible)
My
devcontainer.json
:with "./.devcontainer/postCreateCommand.sh":
Local Environment:
DevPod Provider:
Anything else we need to know?
credentials seem to be mounted correctly inside the container and the permission in the script to be applied.
The text was updated successfully, but these errors were encountered: