X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Finit.d%2Fssh;h=8554fc4d4f17a2163cfd7f70103e4d817dedada9;hb=2839fd86b1c68c62e6bb2d9d9ed2164e4d82da73;hp=6099e68e63c224d84f2b8a30e82cd311037946ee;hpb=7343ad4b4c01ecee4d9e887c021e6d98daa3d893;p=grml-etc.git diff --git a/etc/init.d/ssh b/etc/init.d/ssh index 6099e68..8554fc4 100755 --- a/etc/init.d/ssh +++ b/etc/init.d/ssh @@ -14,7 +14,6 @@ # Configurable options: KEYGEN=/usr/bin/ssh-keygen -RSA1_KEY=/etc/ssh/ssh_host_key RSA_KEY=/etc/ssh/ssh_host_rsa_key DSA_KEY=/etc/ssh/ssh_host_dsa_key ECDSA_KEY=/etc/ssh/ssh_host_ecdsa_key @@ -91,11 +90,6 @@ check_config() { generate_ssh_keys() { - if ! test -f $RSA1_KEY ; then - log_action_msg "Generating SSH1 RSA host key..." - $KEYGEN -t rsa1 -f $RSA1_KEY -C '' -N '' || exit 1 - fi - if ! test -f $RSA_KEY ; then log_action_msg "Generating SSH2 RSA host key..." $KEYGEN -t rsa -f $RSA_KEY -C '' -N '' || exit 1