openssh: removed RSA1 key generation from init script

This commit is contained in:
Matt Housh 2015-08-17 13:59:24 -05:00
parent e8d11eb1be
commit 6c5e0f4b43
2 changed files with 1 additions and 4 deletions

View File

@ -1,2 +1,2 @@
831883f251ac34f0ab9c812acc24ee69 openssh-7.0p1.tar.gz
569e2757f9a1fcee7869c986b4c90fdd sshd
91563fb9164139051248cf3bbb9b00d7 sshd

View File

@ -5,9 +5,6 @@
case $1 in
start)
if [ ! -f /etc/ssh/ssh_host_key ]; then
/usr/bin/ssh-keygen -t rsa1 -N "" -f /etc/ssh/ssh_host_key > /dev/null
fi
if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
/usr/bin/ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key > /dev/null
fi