Description

Steps to configure ssh key usage both on the remote origin and locally.

Steps
  1. generate a ssh-key
    1. ssh-keygen -o -a 256 -t ed25519
      • Other commands can work too, but this was sent by BM.

        This should create an "id_rsa.pub" key by default. "id_rsa" is the private one.

  2. add the key to your git profile
    • NOT on the repo, unless it's configured like that.

  3. make sure you are using the ssh url, not the https url.
    1. use "git remote set-url remote_name new_url"
      • HTTPS url example:

        https://your.origin.net/drupal/fancy-repo

        SSH url example:

        git@your.origin.net:drupal/fancy-repo.git
  4. make sure you even have access to the repo