Skip to content

LFS and deploy key: Authorization error on private repos #7227

Closed
@jonas-hagen

Description

@jonas-hagen
  • Gitea version: 1.8.2
  • Git version: 2.19
  • Operating system: Alpine (Server), Ubuntu (Client)
  • Database: SQLite
  • Setup: nginx as reverse proxy, OpenSSH server

Description

LFS content can't be read from private repos via SSH using a deploy key. On public repos, this works (presumably since pull request #5939 as mentioned in #6127).

gitea.log:
2019/06/17 07:17:07 [D] LFS request - Method: POST, URL: /user/test.git/info/lfs/objects/batch, Status 401

Possibly related: #7219.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/duplicateThe issue has already been reported.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions