镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Open

Description

@abeverley

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions