We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Client
sshconfig
3.4.0
3.11.2
debian/linux
No response
I have a ~/.ssh/config that ends with:
~/.ssh/config
Match all Include ~/.ssh/config.local
Even if Include is not supported yet in paramiko, we should be able to get hostnames from main file.
Include
config.get_hostnames() crashes when using this config.
config.get_hostnames()
The text was updated successfully, but these errors were encountered:
Prevent get_hostname() from crashing of "Match" is not followed by a …
5a2e714
…"Host" section in .ssh/config. Closes paramiko#2339
Prevent get_hostname() from crashing.
f191ad8
get_hostname() crashedsif "Match" is not followed by a "Host" section in .ssh/config. Closes paramiko#2339
50d9b93
get_hostname() crashes if "Match" is not followed by a "Host" section in .ssh/config. Closes paramiko#2339
da9f7b6
Successfully merging a pull request may close this issue.
Are you using paramiko as a client or server?
Client
What feature(s) aren't working right?
sshconfig
What version(s) of paramiko are you using?
3.4.0
What version(s) of Python are you using?
3.11.2
What operating system and version are you using?
debian/linux
If you're connecting as a client, which SSH server are you connecting to?
No response
If you're using paramiko as part of another tool, which tool/version?
No response
Expected/desired behavior
I have a
~/.ssh/config
that ends with:Even if
Include
is not supported yet in paramiko, we should be able to get hostnames from main file.Actual behavior
config.get_hostnames()
crashes when using this config.How to reproduce
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: