Help Center/ CodeArts Repo/ FAQs/ Troubleshooting/ Git Keeps Asking for Passphrase During Code Clone via SSH
Updated on 2023-09-06 GMT+08:00

Git Keeps Asking for Passphrase During Code Clone via SSH

Symptom

When a user attempts to clone code using SSH, Git keeps prompting for the passphrase.

Analysis

A passphrase is set during the generation of the SSH key. Therefore, the passphrase is mandatory during code clone.

Solution

  • Enter the passphrase set during the generation of the SSH key.
  • To avoid entering a passphrase in each clone, delete the original SSH key from CodeArts Repo and generate a new one. Press Enter at the position marked in the preceding figure instead of setting a passphrase. Then, add the new key to CodeArts Repo.