HTTPS vs SSH Authentication

Updated 1 week ago by Copado Solutions

HTTPS

  1. From your Git provider copy the HTTPS URL.
  2. In Copado, create a new Git Repository record and paste the HTTPS URL into the URI field.
  3. Fill in the Username and Password fields and then save the record. 
If you are running a hosted Git repository (not in the Cloud), make sure Port 443 is open. If you have IP Restrictions / Firewall / Layer 7, make sure the Copado IP Addresses can access the Git repository's URL. Click here for more information.

AWS CodeCommitto connect CodeCommit repositories, copy the HTTPS clone url provided in the AWS Console, and then use the AWS Access Key as the username and the AWS Secret Key as the password.

Two-Factor Authentication to the Git repository is not supported. The user added to the Git Repository record must have password authentication only enabled.

SSH

  1. From your Git provider, copy the SSH URL.
  2. In Copado, create a new Git Repository record and paste the SSH URL into the URI field, then save the record.
  3. Now you need to create a new pair of keys. To do so, click on Create SSH Keys.
  4. Scroll down to the Current Keys related list.
  5. Click on the View link next to the id_rsa.pub file and copy the content.
  6. On your Git provider site, add the Public Key (id_rsa.pub).

If you are running a hosted Git repository (not in the Cloud), make sure Port 22 is open. IP restrictions are not supported for SSH.


How did we do?