--- /dev/null
+sshd_config:
+
+ key-types2:
+ - rsa
+ - dsa
+ - ecdsa
+{%- if salt['grains.get']('osrelease_info')[0] >= 8 %}
+ - ed25519
+{% endif -%}
+
+ssh_config:
+ StrictHostKeyChecking: no
+ ForwardAgent: yes
+ ForwardX11: no
+ RhostsRSAAuthentication: no
+ RSAAuthentication: yes
+ PasswordAuthentication: yes
+ HostbasedAuthentication: no
+ GSSAPIAuthentication: no
+ GSSAPIDelegateCredentials: no
+ BatchMode: 'yes'
+ CheckHostIP: 'yes'
+ AddressFamily: 'any'
+ ConnectTimeout: 0
+ IdentityFile: ["~/.ssh/id_rsa", '~/.ssh/id_dsa']
+ Port: 22
+ Protocol: 2
+ Cipher: '3des'
+ Tunnel: 'no'
+ TunnelDevice: 'any:any'
+ PermitLocalCommand: 'no'
+ VisualHostKey: 'no'
+