-
Notifications
You must be signed in to change notification settings - Fork 96
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
Import git ssh error silenced #914
Labels
bug
Something isn't working
Comments
what is ssh-agent? |
It'a a key manager for SSH, have a look at https://smallstep.com/blog/ssh-agent-explained/ |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The SSH key conversion does not surface the error: https://github.com/grafana/alloy/blob/main/internal/vcs/auth.go#L29
When this happens, the given ssh key will be ignored and the go-git will try to use the ssh-agent instead: https://github.com/go-git/go-git/blob/master/plumbing/transport/ssh/common.go#L39
This is not good:
The text was updated successfully, but these errors were encountered: