Bulk importing repos via SSH

Tags: Flow

Overview

Below is a step-by-step guide for adding multiple repos via SSH. If you only need to import a single repo, check out Importing a repo via SSH.

Bulk importing repos via SSH

Step 1: Starting on your Flow home page, go to the top navigation bar and click Settings. Using the left navigation under Integrations, click Integrations.

tep 2: Select the Add Integration button in the top right hand corner of you integrations screen.


Step 3: On the following page select Generic Repo from the Integration Provider list and click Next. 


Step 4: On the next screen, under the SSH tab, click Bulk Import.


Step 5: Prepare a .csv file with a list of all of the SSH clone URLs of the repos you would like to import. Your file should look something like this:


Step 6: Clicking Bulk Import opens a modal that provides you two ways of generating a SSH key required for importing your .csv file. 

A. Share SSH keys with a repo you already imported. 

B. Generate a new key, that can be shared across all the repos you are about to bulk import.


Step 6A: Share a SSH key with a repo you already imported

If you already have repos imported via SSH, this is the easiest way to connect your new repos for your bulk import. 

Step 1A: Select any repo from the drop down menu.


Step 2A: Click Choose File to locate your .csv file.


Step 3A: Click Test connection.


Step 4A: Your repos were successfully added. 



If your connection was not successful, you will see an error message like the one below. Download the list of failed repos to understand why they were not imported and try again.

Here are a few reason why some of your repos might fail to import:

  • clone URL is incorrect
  • repo has already been imported
  • SSH key was not added at the user level of your account

Step 6B: Generate a new key that can be shared across all the repos you are about to bulk import.

If you do not have any repos already imported via SSH, then you will need to generate an SSH key.

Step 1B: Click Get Keypair.


Step 2B: Click Copy public key to your clipboard.


Step 3B: Add the SSH key to your Git host and click I installed the key.

Please add the SSH key at the user level, as opposed to the repo level.


Step 4B: Click Choose File to locate your .csv file and then click Test connection.


Step 5B: Your repos were successfully added. 



If your connection was not successful, you will see an error message like the one below. Download the list of failed repos to understand why they were not imported and try again.

Here are a few reason why some of your repos might fail to import:

  • repo has already been imported
  • SSH key was not added at the user level of your account

Step 7: If your connection and repos were successfully added, click Next.


Step 8: On the next screen you will be selecting the services you want turned on for this Integration. For SSH imports, repo services is your only option. Ensure the repo service is “On” and click Next.


Step 9: Next, name your integration. Click Create.


Step 10: You have successfully created a new integration and bulk imported your repos via SSH.


Step 11:  To view your imported repo click on the link under the Repos tab on your integration page. To learn more about managing your new integration settings, see Managing integrations.


back to top


If you need help, please email support@pluralsight.com for 24/7 assistance.