# Managed by salt {% for host, config in pillar['ssh_config'].items() -%} Host {{host}} {%- for key, val in config.items() %} {{key}} {{val -}} {% endfor %} {% endfor -%}