chore: ensure ssh config file has the correct permissions

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-09-21 17:20:19 -04:00
1 parent 62780a8112
commit e8494f94ae
1 file changed
+1
+1
View File
@@ -79,6 +79,7 @@ else ifeq ($(shell grep $(DOKKU_DOMAIN) /root/.ssh/config),)
else else
sed --in-place 's/Port 22 \r/Port $(DOKKU_SSH_PORT) \r/g' /root/.ssh/config sed --in-place 's/Port 22 \r/Port $(DOKKU_SSH_PORT) \r/g' /root/.ssh/config
cat /root/.ssh/config cat /root/.ssh/config
chown 600 /root/.ssh/config
endif endif
ifneq ($(wildcard /etc/ssh/sshd_config),) ifneq ($(wildcard /etc/ssh/sshd_config),)