SSH instructions need update

Created on 7 May 2024, about 2 months ago
Updated 8 May 2024, about 2 months ago

Problem/Motivation

When I run `.gitpod/drupal/ssh/00-interactive-ssh-setup.sh` I see the following comments from the .md file:

# One-time public key setup
1. Press the OK button in the Terminal below and follow the instructions.
2. Open https://www.drupal.org/user
3. Click on "Git Access"
4. Create a Git username if you don't have one.
5. Click on "SSH keys", 
6. Click on "Add a public key"
7. Copy the content below 
8. Paste it inside "Key" field 
9. Click on "Save" button.
10. Run in Gitpod terminal `.gitpod/drupal/ssh/04-confirm-ssh-setup.sh`

There are two issues for me:

1. I don't see any kind of public key in my terminal that I can add to my Drupal SSH keys. I was able to tell that the private key was created though, because when I tried to run the command again I got:

gitpod /workspace/drupalpod (main) $ .gitpod/drupal/ssh/02-setup-private-ssh.sh
git@git.drupal.org: Permission denied (publickey).
/home/gitpod/.ssh/id_rsa already exists.
Overwrite (y/n)? n
^Csignal: interrupt
Follow instructions for copying public key to Drupal
Test SSH by running .gitpod/drupal/ssh/04-confirm-ssh-setup.sh

2. I don't have a link to "Git Access" on my drupal.org/user account. I DO have one for "DrupalCode access" which then leads to the "SSH keys" link here: https://git.drupalcode.org/-/user_settings/ssh_keys. Is that where I'm supposed to add my public key? Was this a recent UX change on D.O. or am I weird?

Steps to reproduce

1. Try to run `.gitpod/drupal/ssh/02-setup-private-ssh.sh` as a user who does not have a private key on gitpod.
2. Try to follow the instructions for adding the private key.

Proposed resolution

I think the documentation at https://git.drupalcode.org/project/drupalpod/-/blob/main/.gitpod/drupal/... need to be updated.

Remaining tasks

1. Confirm issue by another user
2. Add updated instructions to https://git.drupalcode.org/project/drupalpod/-/blob/main/.gitpod/drupal/...

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States mariacha1

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mariacha1
  • πŸ‡ΊπŸ‡ΈUnited States shaal Boca Raton, FL

    Thank you! Yes, there was a recent update in DrupalPod, where it is now hosted in d.o instead of Github, which means users do NOT need to follow the old SSH process, and now the transition is much simpler.

    Follow up steps I would recommend:
    * Test the experience of a NEW drupal.org user (I am not sure if they still need to do something with their account to get access to push code)
    * Update DrupalPod repo with new instructions
    * Update DrupalPod VSCode extension with new instructions.

Production build 0.69.0 2024