Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

check .ssh/config for host and port overrides; fixes #629 #687

Merged
merged 2 commits into from
Dec 11, 2017
Merged

check .ssh/config for host and port overrides; fixes #629 #687

merged 2 commits into from
Dec 11, 2017

Conversation

smithrobs
Copy link
Contributor

I ran into this issue and figured I'd send a PR of what I ended up doing.

Per golang/go#18781 there is no built-in parser for .ssh/config so I introduce a dependency on https://github.com/kevinburke/ssh_config

Let me know if you had something else in mind or don't agree with the additional dep.

@mcuadros
Copy link
Contributor

Thanks @smithrobs, I added a test and fixed a couple of bugs.

@mcuadros mcuadros merged commit afdd28d into src-d:master Dec 11, 2017
@smithrobs
Copy link
Contributor Author

Excellent! Thanks for cleaning up my commit and maintaining this lib! 😄

@smithrobs smithrobs deleted the sshconfig branch December 11, 2017 12:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants