Skip to content

sshd_config_subsystem does not allow for manging the same subsystem name in multiple targets #50

Description

@skylar2-uw

Hi,

It seems that sshd_config_subsystem does not allow one to manage the parameter as a resource in multiple files. For instance, this gives a duplicate resource error:

sshd_config_subsystem { "sftp":
   target => '/etc/ssh/sshd_config',
   command => '/bin/false',
}

sshd_config_subsystem { "sftp":
   target => '/etc/ssh/sshd_config_chroot',
   command => 'internal-sftp',
}

This isn't really show-stopper for us since I think by the time we need it, we'll have our SFTP service migrated to a newer version of OpenSSH where we can have get the access control that we need in a single SSH service, but I was testing an implementation with CentOS 6 and thought I would pass along the problem.

Thanks!

Skylar

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