Skip to content

Fix KeyError exception in SSHConfig.get_hostnames#1674

Open
basileMarchand wants to merge 1 commit intoparamiko:mainfrom
basileMarchand:master
Open

Fix KeyError exception in SSHConfig.get_hostnames#1674
basileMarchand wants to merge 1 commit intoparamiko:mainfrom
basileMarchand:master

Conversation

@basileMarchand
Copy link

Just add a test to fix a KeyError exception in the SSHConfig.get_hostnames
In some cases, when using the Match command in ssh config file, ther is no "host" key.

… using match command, a KeyError exception can be raised
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.

1 participant