From 9e36a68adbc74d54083ae0dc1893ddee8f72b9c3 Mon Sep 17 00:00:00 2001 From: Dan McCracken Date: Fri, 19 Apr 2024 11:58:21 -0400 Subject: [PATCH] Update file permissions on authorized_keys to 600 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index dc49954..b772c61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,3 +22,4 @@ ENTRYPOINT ["ssh-start"] CMD ["ssh-server"] COPY authorized_keys /root/.ssh/authorized_keys +RUN chmod 600 /root/.ssh/authorized_keys