diff --git a/meta-ohos-core/recipes-core/dropbear/dropbear_%.bbappend b/meta-ohos-core/recipes-core/dropbear/dropbear_%.bbappend
new file mode 100644
index 0000000000000000000000000000000000000000..01d15be65b3dcaa21d8d6f5bef3e8b917c19fa29
--- /dev/null
+++ b/meta-ohos-core/recipes-core/dropbear/dropbear_%.bbappend
@@ -0,0 +1,8 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+inherit writables
+
+WRITABLES = "hostkeys"
+WRITABLE_PATH[hostkeys] = "/etc/dropbear"