Gitlab needs SSH keys

Forum Forums New users New Users and General Questions Gitlab needs SSH keys

  • This topic has 1 reply, 2 voices, and was last updated Jun 17-8:18 am by sybok.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #84707
    Moderator
    BobC

      I can login to Gitlab, but they now require SSH keys.

      I can’t fork a project without it, from the looks of it.

      I don’t understand SSH (I thought it was a cryptic remote access program) or how to create the keys.

      Can anyone point me to a tutorial designed for someone unfamiliar that gives a layman’s explanation?

      #84708
      Member
      sybok
        Helpful
        Up
        0
        ::

        Hi, you can use ‘ssh-keygen’ to generate the key, see e.g.
        https://www.ssh.com/academy/ssh/keygen#adding-the-key-to-ssh-agent
        If you have no key ‘~/.ssh/id_rsa’ stored on your PC, you may simply use ‘ssh-keygen’, use the default file-name (or change it as you wish) and empty passphrase.
        The people at GitLab were kind enough to provide information for you:
        https://docs.gitlab.com/ee/user/ssh.html

        Once you generate the key, you should make it “more secure” by removing unnecessary rights, namely ‘chmod go-rw <key-file>’ so that no one other than you may read/modify the key.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.