summaryrefslogtreecommitdiffstats
path: root/services/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'services/Makefile')
-rw-r--r--services/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/Makefile b/services/Makefile
index a4db7df1..c537b50d 100644
--- a/services/Makefile
+++ b/services/Makefile
@@ -26,6 +26,7 @@ $(services_home)/.ssh/authorized_keys: $(services_home)/.ssh $(authorized_keys_f
cp $(authorized_keys_file) $(services_home)/.ssh/authorized_keys
@echo "restricting authorized_keys..."
@sed -i 's#^#command="/bin/cat $(services_home)/services.txt",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty #' $(services_home)/.ssh/authorized_keys
+ chown services:services $(authorized_keys_file)
$(services_home)/services.txt:
@echo 'make sure to configure the services correctly in $(services_home)/services.txt'