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

Option to enable SSH known host key verification #1321

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

chidanandpujar
Copy link
Collaborator

@chidanandpujar chidanandpujar commented Sep 3, 2024

Fix for #1320
Provided boolean parameter hostkey_verify (False/True) to disable/enable SSH known hosts key verification during ssh connection. By default it is disabled with value hostkey_verify=False.

hostkey_verify = False
else:
hostkey_verify = self._hostkey_verify

Copy link
Collaborator

Choose a reason for hiding this comment

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

Add UTP for this usecases

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

UT test cases are added

@dineshbaburam91 dineshbaburam91 merged commit e3fa022 into Juniper:master Oct 7, 2024
7 checks passed
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.

2 participants