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

Reading OpenSSH ~/.ssh/config file ignores all hosts options #1209

Open
abeverley opened this issue Oct 25, 2018 · 0 comments
Open

Reading OpenSSH ~/.ssh/config file ignores all hosts options #1209

abeverley opened this issue Oct 25, 2018 · 0 comments

Comments

@abeverley
Copy link
Contributor

When Rex::Config parses ~/.ssh/config it slurps options for named servers, but not for the all hosts "*" option. This means that it is not possible to set a configuration value for all hosts in the config file, and instead Rex sets its default. (In my case, I was trying to specify a default timeout value).

I've worked around this by adding the following in my Rexfile: Rex::Config->set_timeout(20); but I wanted to note it here for the record.

It doesn't look like an easy fix unfortunately, as each configuration option is taken from a hash for the host in question.

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

No branches or pull requests

1 participant