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

Add support for use_keys and key_file netmiko arguments. #102

Merged
merged 2 commits into from
Feb 18, 2016

Conversation

pixelrebel
Copy link
Contributor

Tested with force10 s4810 switch. Full disclosure: there's an issue with netmiko/paramiko that requires a valid password for the key exchange to work (at least for the s4810 in my testing). In any case, it's nice to have the key option available.

@jedelman8
Copy link
Member

What's getpass being used for here in the context for adding use_keys and key_file for netmiko?

@pixelrebel
Copy link
Contributor Author

@jedelman8: Oops, good catch. Those were temporary debugging lines. I will remove these.

Also, there's an issue with required_together arguments. Either host, username, password or host, username, use_keys, key_file would be required together. I'm not sure how to write that.

jedelman8 added a commit that referenced this pull request Feb 18, 2016
Add support for use_keys and key_file netmiko arguments.
@jedelman8 jedelman8 merged commit 606510c into networktocode:master Feb 18, 2016
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