ansible-role-win_openssh
ansible-role-win_openssh copied to clipboard
Ansible Role to install Win32-OpenSSH on Windows - https://github.com/PowerShell/Win32-OpenSSH
Changing the default SSHD_Config by adding a list of keys allowed under Ciphers and Keying will harden Open SSH.
when running 2nd time with `opt_openssh_shared_admin_key: true` the following lines in c:\programdata\ssh\sshd_config and in the c:\program files\Openssh\sshd_config_defaults: ```shell Match Group administrators AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys ``` get changed to : ```shell Match...
while opt_openssh_shared_admin_key is set to true, sshd_config contains the correct configuration: AuthorizedKeysFile __PROGRAMDATA__ /ssh/administrators_authorized_keys but the file %PROGRAMDATA%\ssh\administrators_authorized_keys is missing and not managed by ansible