summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remote/modules/sshd/sshd.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/remote/modules/sshd/sshd.build b/remote/modules/sshd/sshd.build
index aa4241e6..0b198c6c 100644
--- a/remote/modules/sshd/sshd.build
+++ b/remote/modules/sshd/sshd.build
@@ -13,6 +13,8 @@ build() {
fi
}
-post_copy() {
+post_copy() {
mkdir -p "${TARGET_BUILD_DIR}/var/run/sshd"
+
+ chmod go-rwx "${TARGET_BUILD_DIR}/etc/ssh/*"
}