summaryrefslogtreecommitdiff
path: root/stretch-armhf-developer/customization
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2016-11-17 18:04:51 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2016-11-17 18:04:51 +0100
commit1f477666597b80a381d9998f9cc2b43fc7d84578 (patch)
treedbf0b34730929a7cb219ef9338a92f758ca7c0a6 /stretch-armhf-developer/customization
parent65b59a99afe5499254fb579779f922ad63302405 (diff)
stretch*: use rsa key instead of dsa key for openssh
We used to check if the DSA key exist to decide whether we need to generate the SSH keys on boot. However the DSA key is no longer generated by default in Debian, see https://anonscm.debian.org/cgit/pkg-ssh/openssh.git/commit/debian/openssh-server.postinst?id=599154ab5ed55fbe507d016ea1b2d3601fed4ca7 So rely on RSA key instead. Change-Id: Iacf55116a61ec62dcfe7b34f5e2e749bd3f715fa Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'stretch-armhf-developer/customization')
-rwxr-xr-xstretch-armhf-developer/customization/includes.chroot/etc/rc.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/stretch-armhf-developer/customization/includes.chroot/etc/rc.local b/stretch-armhf-developer/customization/includes.chroot/etc/rc.local
index bd2c208..bedc8cf 100755
--- a/stretch-armhf-developer/customization/includes.chroot/etc/rc.local
+++ b/stretch-armhf-developer/customization/includes.chroot/etc/rc.local
@@ -12,6 +12,6 @@
# By default this script does nothing.
# Generate the SSH keys if non-existent
-test -f /etc/ssh/ssh_host_dsa_key || dpkg-reconfigure openssh-server
+test -f /etc/ssh/ssh_host_rsa_key || dpkg-reconfigure openssh-server
exit 0