diff --git a/sshd-keygen b/sshd-keygen index adb5b88..737aa88 100644 --- a/sshd-keygen +++ b/sshd-keygen @@ -4,6 +4,7 @@ # # The creation is controlled by the $AUTOCREATE_SERVER_KEYS environment # variable. +AUTOCREATE_SERVER_KEYS=RSAONLY # source function library . /etc/rc.d/init.d/functions diff --git a/sshd.sysconfig b/sshd.sysconfig index b10a89d..9a30a83 100644 --- a/sshd.sysconfig +++ b/sshd.sysconfig @@ -2,11 +2,11 @@ # The server keys are automatically generated if they ommited # to change the automatic creation uncomment the approprite -# line. +# line. The default is RSAONLY # AUTOCREATE_SERVER_KEYS=RSAONLY # AUTOCREATE_SERVER_KEYS=NO -AUTOCREATE_SERVER_KEYS=YES +# AUTOCREATE_SERVER_KEYS=YES # Do not change this option unless you have hardware random # generator and you REALLY know what you are doing