module-sshd/templates/sshd_config
Micah Anderson d78749fd8f Add a $hostkey_type variable that allows you to set which hostkey
types you want to support in your sshd_config.

We use the ssh_version fact to determine the default hostkey types.
Only enable rsa and ed25519 for ssh versions greater or equal
to 6.5, otherwise enable rsa and dsa.

Some distributions, such as debian, also enable ecdsa as a hostkey
type, but this is a known bad NIST curve, so we do not enable that
by default (thus deviating from the stock sshd config)
2014-11-21 21:20:29 -05:00
..
CentOS_5.erb move to os release number on centos for selection 2014-08-15 10:22:40 +02:00
CentOS_6.erb move to os release number on centos for selection 2014-08-15 10:22:40 +02:00
CentOS_7.erb Add a $hostkey_type variable that allows you to set which hostkey 2014-11-21 21:20:29 -05:00
Debian_etch.erb Add a $hostkey_type variable that allows you to set which hostkey 2014-11-21 21:20:29 -05:00
Debian_jessie.erb Add a $hostkey_type variable that allows you to set which hostkey 2014-11-21 21:20:29 -05:00
Debian_lenny.erb new style for 2.7 2012-06-05 18:23:03 -03:00
Debian_sid.erb Add a $hostkey_type variable that allows you to set which hostkey 2014-11-21 21:20:29 -05:00
Debian_squeeze.erb Add a $hostkey_type variable that allows you to set which hostkey 2014-11-21 21:20:29 -05:00
Debian_wheezy.erb Add a $hostkey_type variable that allows you to set which hostkey 2014-11-21 21:20:29 -05:00
FreeBSD.erb Add a $hostkey_type variable that allows you to set which hostkey 2014-11-21 21:20:29 -05:00
Gentoo.erb new style for 2.7 2012-06-05 18:23:03 -03:00
OpenBSD.erb fix variable name 2012-08-26 19:10:26 +02:00
Ubuntu.erb Add a $hostkey_type variable that allows you to set which hostkey 2014-11-21 21:20:29 -05:00
Ubuntu_lucid.erb Add a $hostkey_type variable that allows you to set which hostkey 2014-11-21 21:20:29 -05:00
Ubuntu_oneiric.erb Adding sshd_config for oneiric 2012-02-03 15:10:42 -02:00
Ubuntu_precise.erb added Ubuntu precise support 2012-11-07 18:17:27 +01:00