Skip to content
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

Feature/ssh #20

Merged
merged 7 commits into from
Mar 30, 2021
Merged

Feature/ssh #20

merged 7 commits into from
Mar 30, 2021

Conversation

christianaye
Copy link
Contributor

this can resolve #19, but actually the StrictHostKeyChecking property is set to 'no'

Copy link
Member

@nedtwigg nedtwigg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks a lot! I think the default behavior here is too risky, we can either gate this risky behavior behind a flag, or we can force users to make sure their SSH known_hosts stuff is accurate.

Copy link
Member

@nedtwigg nedtwigg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I didn't think to suggest this earlier, but it jumped out at me as I looked at the new commits. There might be other SSH properties that users want to override in the future, and that will be easier if we have a consistent mapping.

I think the whole thing gets a bit simpler if we do this rename:

boolean sshDisableStrictHostKeyChecking = false;
String sshStrictHostKeyChecking = "yes";

That way we can automatically support any other String modes that SSH might have someday, and it's a consistent way to override whichever ssh config properties we add support for in the future.

@nedtwigg nedtwigg merged commit e0458df into diffplug:main Mar 30, 2021
@nedtwigg
Copy link
Member

Published in 2.1.0

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.

Support SSH URLs for changelogPush
2 participants