diff options
Diffstat (limited to 'opensshd.init.in')
-rwxr-xr-x | opensshd.init.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opensshd.init.in b/opensshd.init.in index 517345bfb..3908566b7 100755 --- a/opensshd.init.in +++ b/opensshd.init.in | |||
@@ -25,9 +25,9 @@ HOST_KEY_ED25519=$sysconfdir/ssh_host_ed25519_key | |||
25 | 25 | ||
26 | 26 | ||
27 | checkkeys() { | 27 | checkkeys() { |
28 | if [ ! -f $HOST_KEY_RSA1 ]; then | 28 | @COMMENT_OUT_RSA1@ if [ ! -f $HOST_KEY_RSA1 ]; then |
29 | ${SSH_KEYGEN} -t rsa1 -f ${HOST_KEY_RSA1} -N "" | 29 | @COMMENT_OUT_RSA1@ ${SSH_KEYGEN} -t rsa1 -f ${HOST_KEY_RSA1} -N "" |
30 | fi | 30 | @COMMENT_OUT_RSA1@ fi |
31 | if [ ! -f $HOST_KEY_DSA ]; then | 31 | if [ ! -f $HOST_KEY_DSA ]; then |
32 | ${SSH_KEYGEN} -t dsa -f ${HOST_KEY_DSA} -N "" | 32 | ${SSH_KEYGEN} -t dsa -f ${HOST_KEY_DSA} -N "" |
33 | fi | 33 | fi |