Skip to content

Do not overwrite authorized_keys when using built in serverΒ #2046

Closed
@pgaskin

Description

@pgaskin
  • Gitea version (or commit ref): f2afed3

Description

The admin action for rewriting authorized keys currently overwrites authorized_keys, even when using the built in server.

This should not happen because it may lock users out if running it as their main system user with the same authorized keys for ssh and gitea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions