Skip to content

Commit 30d687b

Browse files
authored
Merge pull request #933 from dmbaturin/T7217-remove-dropbear-keys
hooks: T7217: remove Dropbear SSH host keys at image build time
2 parents 1d1105c + 452b17e commit 30d687b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
# Delete Dropbear SSH keys that might be generated
4+
# by postinst scripts
5+
# to prevent non-unique keys from appearing in images
6+
7+
rm -f /etc/dropbear/dropbear_*_host_key

0 commit comments

Comments
 (0)