Skip to content

httpd: make import-ssh sub-command write authorized_keys as 0644 - #136

Open
mvo5 wants to merge 1 commit into
systemd:mainfrom
mvo5:authorized_keys-perms
Open

mvo5 wants to merge 1 commit into
systemd:mainfrom
mvo5:authorized_keys-perms

Conversation

@mvo5

@mvo5 mvo5 commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Our import-ssh sub-command was writing out the authorized_keys file with mode 0600. For bridges that run as non-root via e.g. the DynamicUser=yes in the unit (which is a valid and supported use-case) that is too restrictive so switch to 0644.

Our `import-ssh` sub-command was writing out the `authorized_keys`
file with mode 0600. For bridges that run as non-root via e.g. the
`DynamicUser=yes` in the unit (which is a valid and supported use-case)
that is too restrictive so switch to 0644.
@mvo5
mvo5 requested a review from keszybz September 16, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant