chore: ensure ssh config file has the correct permissions

This commit is contained in:
Jose Diaz-Gonzalez
2024-09-21 05:29:53 -04:00
parent 62780a8112
commit e8494f94ae

View File

@@ -79,6 +79,7 @@ else ifeq ($(shell grep $(DOKKU_DOMAIN) /root/.ssh/config),)
else
sed --in-place 's/Port 22 \r/Port $(DOKKU_SSH_PORT) \r/g' /root/.ssh/config
cat /root/.ssh/config
chown 600 /root/.ssh/config
endif
ifneq ($(wildcard /etc/ssh/sshd_config),)