August 16, 2021 | 21:53

GitLab Git Operations with Nitrokey

As with GitHub, you can also deposit your (Nitrokey) SSH key at, by navigating to Preferences -> SSH Keys. Now verify that the key is working:

$ ssh -T

Don’t forget to check that the shown fingerprint matches the one on this site. Now if your key is uploaded correctly, the Nitrokey needs to be plugged in, and you will potentially be asked to enter your Nitrokey PIN.

Change the remote of your GitLab repository to SSH:

$ git remote set-url origin

That’s it.

© Pavel Pi 2021

Powered by Hugo & Kiss'Em.