Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Add new option ssh_server_match_address #230

@MatthiasLohr

Description

@MatthiasLohr

Is your feature request related to a problem? Please describe.
In my opinion it is a questionable design decision to write the sshd_custom_options at the beginning of the configuration file. Normally you try to overwrite things that the Playbook doesn't offer so far. Example:

Match Address 10.196.1.0/24
  PermitRootLogin yes
  PasswordAuthentication yes

This does not work, because the later occurring global PermitRootLogin no overwrites this again.

Describe the solution you'd like
There are already workarounds for Match User/Match Group, it would be great if you could introduce them for Match Address as well.

Describe alternatives you've considered
Another possibility, which I think should be offered anyway, would be the support for custom options at the end of the configuration file.

Best regards
Matthias

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions