summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/modules/mgmt-sshd/data/etc/ssh/mgmt/sshd_config2
-rw-r--r--core/modules/sshd/module.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/mgmt-sshd/data/etc/ssh/mgmt/sshd_config b/core/modules/mgmt-sshd/data/etc/ssh/mgmt/sshd_config
index 40f27414..b51a1109 100644
--- a/core/modules/mgmt-sshd/data/etc/ssh/mgmt/sshd_config
+++ b/core/modules/mgmt-sshd/data/etc/ssh/mgmt/sshd_config
@@ -29,5 +29,5 @@ TCPKeepAlive yes
AcceptEnv LANG LC_*
UsePAM yes
UseDNS no
-PidFile /run/sshd_mgmt/pid
+PidFile /run/sshd_mgmt.pid
AllowUsers root
diff --git a/core/modules/sshd/module.build b/core/modules/sshd/module.build
index 3420084f..2bcac7ae 100644
--- a/core/modules/sshd/module.build
+++ b/core/modules/sshd/module.build
@@ -17,5 +17,5 @@ build() {
post_copy() {
mkdir -p "${TARGET_BUILD_DIR}/var/lib/empty" # suse
- chmod go-rwx "${TARGET_BUILD_DIR}/etc/ssh/"* # no space, " before *
+ chmod go-rwX "${TARGET_BUILD_DIR}/etc/ssh"
}