[Bug 276699] www/gitlab-ce: SSH key does not work

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Jan 2024 00:02:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276699

            Bug ID: 276699
           Summary: www/gitlab-ce: SSH key does not work
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mfechner@FreeBSD.org
          Reporter: maxsteciuk@gmail.com
             Flags: maintainer-feedback?(mfechner@FreeBSD.org)
          Assignee: mfechner@FreeBSD.org

Created attachment 248050
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248050&action=edit
Change to patch-config_gitlab.yml.example

Hello, 
I successfully set up GitLab running using the instructions from the page.
These were very helpful, thank you!
However I found that git operations via SSH failed for newly added keys. I
traced a cause to the gitlab.yml.example which was patched to replace /home
with %%PREFIX%% for git user .ssh/authorized_keys path. I found this change in
files/patch-config_gitlab.yml.example. Could you please confirm if this was an
intentional patch change?
After I corrected gitlab-shell authorized_keys_file configuration in gitlab.yml
GitLab SSH keys started working again.
Thank you,
Max

-- 
You are receiving this mail because:
You are the assignee for the bug.