Skip to content

Can not verify your SSH key: SSHKeyGenParsePublicKey failed: exit status 255 No user exists for uid 997 #19920

Closed as not planned
@wxiaoguang

Description

@wxiaoguang

Some docker users are affected by this bug (not only one) when they try to add public keys.

Can not verify your SSH key: SSHKeyGenParsePublicKey: fail to parse public key: exec(629f88e0-5:SSHKeyGenParsePublicKey) failed: exit status 255() stdout: stderr: No user exists for uid 997 - No user exists for uid 997

It's likely cased by the error reported by the ssh-keygen command executed by Gitea, which meets the non-existing UID 997.

I don't know how it happens at the moment. For Gitea Docker, the UID should have been default to 1000, maybe user's setup steps/configs/operations could provide some clues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/distributionThis PR changes something about the packaging of Giteatype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions