Datalore 2024.2 Help

Manage SSH keys in a workspace

Datalore allows you to store and manage SSH keys as workspace resources. An SSH key stored in this way can be used across the entire workspace, which is very helpful when sharing the workspace. When creating database connections or adding Git repositories, users are provided with the SSH keys stored within the respective workspace.

Add an SSH key to workspace resources

  1. On the Home page, select the workspace to which you want to add the repository.

  2. From the left-hand side menu, select Other and switch to the SSH keys tab. This will open the list of SSH keys in the selected workspace.

    SSH keys tab
  3. On the SSH keys tab, click the Add button in the upper right corner.

  4. Proceed in the Add SSH key dialog. The further steps depend on whether you add an existing SSH key or generate one.

    1. In the Display name field, specify a name under which the SSH key will be listed in the workspace.

    2. In the Private key field, paste the private part of the key.

    3. In the Passphrase field, provide the key passphrase.

      Adding an existing SSH key
    1. In the Display name field, specify a name under which the generated SSH key will be listed in the workspace.

    2. Under the Passphrase field, click the generate one line. The generated key will be pasted into Private key field.

      Adding a generated SSH key
  5. Click the Go to next step button.

  6. On the second page of the Add SSH key dialog, copy the content of the Public key field for further usage (with a Git-hosting service or machine serving as an SSH tunnel).

Manage SSH keys

You can edit, rename, or delete SSH keys stored in your workspaces.

  1. On the Home page, select SSH keys from the left-hand menu.

  2. In the SSH keys view, right-click the SSH key and do one of the following:

    • To edit the key, select Edit. Make changes to the SSH key in the Edit SSH key dialog and click the Save and close button.

    • To rename the key, select Rename, enter the new name, and press Enter.

    • To delete the key, select Delete.

Last modified: 17 May 2024