KEMBAR78
fix(ssh): unable to pass a custom HostKeyCallback func by 610lyn · Pull Request #1 · 610lyn/go-git · GitHub
Skip to content

Conversation

@610lyn
Copy link
Owner

@610lyn 610lyn commented Jan 10, 2023

Don't overwrite HostKeyCallback if one is provided.

Fixes: c35b808 ("plumbing: transport/ssh, auto-populate ClientConfig.HostKeyAlgorithms. Fixes go-git#411")
Fixes: go-git#654
Signed-off-by: Ayman Bagabas ayman.bagabas@gmail.com

Don't overwrite HostKeyCallback if one is provided.

Fixes: c35b808 ("plumbing: transport/ssh, auto-populate ClientConfig.HostKeyAlgorithms. Fixes go-git#411")
Fixes: go-git#654
Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
@610lyn 610lyn merged commit 10e9bce into 610lyn:master Jan 10, 2023
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

Successfully merging this pull request may close these issues.

ssh: unable to ignore host key auth callback git-ssh: try multiple algorithms for known_hosts

2 participants