uselagoon / lagoon

Lagoon, the developer-focused application delivery platform
https://docs.lagoon.sh/
Apache License 2.0
548 stars 147 forks source link

chore: adds fix-key-perms to set sshkey perms correctly for local-dev #3758

Open tobybellwood opened 5 days ago

tobybellwood commented 5 days ago

This PR implements a make routine to set the correct 600 permission on the local-dev SSH private keys. Github stores files as 644 by default, so the private keys need to be chmodded to 600 before they can be used for SSH'ing.

Given how rarely this is needed, I've not added the routine to any others, and kept it standalone