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

ansible-ssh-hardening 4.0.0

Compare
Choose a tag to compare
@rndmh3ro rndmh3ro released this 22 Apr 18:16
· 430 commits to master since this release

4.0.0 (2017-04-22)

Full Changelog

Breaking Changes:

  • remove support for ansible 1.9 #87 (rndmh3ro)

    • Ansible 1.9 is not supported anymore
  • Change the ssh_client_ports list variable into a simple non-list variable named ssh_client_port. #84 (fullyint)

    • Before:
      {% for port in ssh_client_ports -%}
      Port {{port}}
      {% endfor %}
    
    • After:
       Port {{ ssh_client_port }} 
    
  • Fix ssh config to handle custom options per Host #83 (fullyint)

    • Before:
      # one or more hosts, to which ssh-client can connect to. Default is empty, but should be configured for security reasons!
      ssh_remote_hosts: []           # ssh
    
    • After:
      # Hosts with custom options.            # ssh
      # Example:
      # ssh_remote_hosts:
      #   - names: ['example.com', 'example2.com']
      #     options: ['Port 2222', 'ForwardAgent yes']
      #   - names: ['example3.com']
      #     options: ['StrictHostKeyChecking no']
      ssh_remote_hosts: []
    

Implemented enhancements:

  • Use different Hostkeys according to installed ssh version #99 (rndmh3ro)
  • Remove small dh primes #97 (rndmh3ro)
  • Add Ed25519 SSH host key to match ssh-baseline #96 (techraf)
  • Add support for FreeBSD OpenSSH server and client #95 (jbenden)
  • Defaults: Remove DSA from SSH host keys to match ssh-baseline profile #92 (techraf)
  • make ChallengeResponseAuthentication configurable #85 (rndmh3ro)

Fixed bugs:

  • SELinux-specific task still runs on SELinux-disabled systems #74
  • List only one Port in ssh config #84 (fullyint)
  • Fix ssh config to handle custom options per Host #83 (fullyint)

Closed issues:

  • Should compression be opt-in? #90
  • The role fails when conditionally included #86

Merged pull requests:

Other improvements:

  • Accommodate missing plugins in kitchen_vagrant_block.rb #100 (fullyint)
  • Replace deprecated always_run with check_mode #93 (jbenden)
  • use new docker images #91 (rndmh3ro)
  • use centos 7 in vagrant, limit ssh conns #88 (rndmh3ro)