--- # Generated by tools/hardened.py from ../t1. Edit t1 or the script; this file is regenerated. # # Starting values: Standard's defaults, role by role. Change them here, in # your copy. The rules in policy/ check this file before every run. # ---- win_ssh_hardening ---- # Every setting the role understands, with the value used when you say nothing. # Override in group_vars or host_vars. Do not edit this file. win_ssh_hardening_config_dir: C:\ProgramData\ssh win_ssh_hardening_sshd: C:\Windows\System32\OpenSSH\sshd.exe # Refuse to run when the administrators' key file is missing or empty. Turn # this off only where you have another way in, such as a console or RDP. win_ssh_hardening_require_admin_key: true # Authentication win_ssh_hardening_password_authentication: false win_ssh_hardening_max_auth_tries: 4 win_ssh_hardening_login_grace_time: 30 # Who may log in at all. Names are lower case, and domain groups are written # domain\group. An empty list means no restriction, which is the safe default, # because a wrong group name here locks out everyone. win_ssh_hardening_allow_groups: [] # Forwarding. Agent forwarding lets whoever controls the server use your key # elsewhere, so it is off unless you say otherwise. win_ssh_hardening_agent_forwarding: false win_ssh_hardening_tcp_forwarding: false # Idle sessions win_ssh_hardening_client_alive_interval: 300 win_ssh_hardening_client_alive_count_max: 2 # Cryptography. The same lists as the Linux role. win_ssh_hardening_kex_algorithms: - curve25519-sha256 - curve25519-sha256@libssh.org - diffie-hellman-group16-sha512 win_ssh_hardening_ciphers: - chacha20-poly1305@openssh.com - aes256-gcm@openssh.com - aes128-gcm@openssh.com win_ssh_hardening_macs: - hmac-sha2-512-etm@openssh.com - hmac-sha2-256-etm@openssh.com # The inbound rule Windows creates with OpenSSH allows every address. List # the networks administrators connect from to narrow it. Empty leaves it as is. win_ssh_hardening_allowed_networks: [] # The shell a session opens in. cmd.exe is the Windows default. Leave empty to # keep whatever is set. win_ssh_hardening_default_shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe