Skip to content

Authorised key path #7

Description

@skauk

One thing I struggled to understand while reading README is the location of authorized_keys file on Gitlab server.
My case is slightly different, namely my Gitlab is running on a virtual machine behind NAT, so no docker and volumes are involved. I figured out that the file I need is located under /var/opt/gitlab/.ssh/authorized_keys. A few things are different: dot in .ssh: not sure if its absence is a typo in README or deliberate. Secondly, my authorized_keys file wasn't empty, so I appended a key instead of overwritting the whole file with a key like it says in README.
I would improve instructions in README if you are okay with it. Otherwise, great solution! Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions