Skip to content

dulwich: use subprocess ssh vendor if GIT_SSH or GIT_SSH_COMMAND env vars are set #160

@pmrowla

Description

@pmrowla

We default to using asyncssh since we cannot rely on CLI ssh always being available. But if the user is setting GIT_SSH_COMMAND themselves we can assume the provided command is valid and we should prefer that over asyncssh (since it may have settings that are not in their ~/.ssh/config)

discourse context: https://discuss.dvc.org/t/use-different-ssh-credentials/1438

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions