arm-sdk

os build toolkit for various embedded devices
git clone https://git.parazyd.org/arm-sdk
Log | Files | Refs | Submodules | README | LICENSE

commit 0356a77edee0db5183178c10af0fa75956f79903
parent c8f1a3b9c52583a348b2d0e6acc038b4c7d9a039
Author: parazyd <parazyd@dyne.org>
Date:   Mon, 29 Jan 2018 15:17:12 +0100

Use ssh-keygen -A instead of dpkg-reconfigure to regen ssh keys.

Diffstat:
Mextra/generic-root/etc/rc.local | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extra/generic-root/etc/rc.local b/extra/generic-root/etc/rc.local @@ -10,6 +10,6 @@ # bits. ## regen ssh keys on first boot -[ -f /etc/ssh/ssh_host_rsa_key.pub ] || dpkg-reconfigure openssh-server +[ -f /etc/ssh/ssh_host_rsa_key.pub ] || ssh-keygen -A exit 0