From: Jan Kiszka <jan.kiszka@web.de>
To: isar-users <isar-users@googlegroups.com>
Subject: [PATCH] sshd-regen-keys: Issue sync after regeneration
Date: Sat, 30 May 2020 08:54:39 +0200 [thread overview]
Message-ID: <b00f0c4e-e7e4-44cf-e7dc-ca85d17d2795@web.de> (raw)
From: Jan Kiszka <jan.kiszka@siemens.com>
This reduces the risk that a hard reset or power loss after the
regeneration leaves invalid key files behind, thus prevents that sshd
comes up again.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.sh b/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.sh
index 11fca3b4..910d879b 100644
--- a/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.sh
+++ b/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.sh
@@ -16,3 +16,5 @@ if test -n $SSHD_ENABLED; then
echo "Reenabling ssh server ..."
systemctl enable --no-reload ssh
fi
+
+sync
--
2.26.2
next reply other threads:[~2020-05-30 6:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-30 6:54 Jan Kiszka [this message]
2020-08-31 16:30 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b00f0c4e-e7e4-44cf-e7dc-ca85d17d2795@web.de \
--to=jan.kiszka@web.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox