openssh: removed RSA1 key generation from init script
This commit is contained in:
parent
e8d11eb1be
commit
6c5e0f4b43
@ -1,2 +1,2 @@
|
||||
831883f251ac34f0ab9c812acc24ee69 openssh-7.0p1.tar.gz
|
||||
569e2757f9a1fcee7869c986b4c90fdd sshd
|
||||
91563fb9164139051248cf3bbb9b00d7 sshd
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user