You are located in service: Software Engineering Services (GitLab)

Show and edit SSH Keys

Show and edit SSH Keys


Show SSH Keys

The SSH keys stored in GitLab can be found at or

Add an SSH Key

Once you have opened the page for the SSH keys (see links above), the following page will appear:

ssh key settings for gitlab

You can now add a key here by inserting the public part of your SSH key into the input field. Details can be found on the website: .

Delete an SSH Key

On the page with the SSH keys (see above), you can also delete SSH keys. To do this, click on the trash icon next to the key you want to delete.

List SSH Keys via API

To be able to copy an existing SSH key (e.g. when moving the project to another GitLab instance or to another platform), it is helpful to have the SSH keys displayed via the API. In the GitLab interface, the keys are only displayed abbreviated.

To execute the following command, you need a Private Access Token with at least one scope on api:

curl --header "PRIVATE-TOKEN: <your_access_token>" " # Für

curl --header "PRIVATE-TOKEN: <your_access_token>" " # Für

last changed on 05/16/2024

How did this content help you?

Creative Commons Lizenzvertrag
This work is licensed under a Creative Commons Attribution - Share Alike 3.0 Germany License