Skip to content

Commit 68b41cc

Browse files
committed
Fix directory privilege
1 parent 1be480d commit 68b41cc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ if [ -n "${DEV_TUNNEL_SSH_PASSWORD}" ]; then
66
echo "dev:${DEV_TUNNEL_SSH_PASSWORD}" | chpasswd
77
fi
88

9+
# Create the directory for privilege separation if it doesn't exist
10+
mkdir -p /run/sshd
11+
912
# Start SSH service
1013
echo "Starting SSH service"
1114
/usr/sbin/sshd -D

0 commit comments

Comments
 (0)