Skip to content

Create / Rotate SSH Key

Create / Rotate SSH Key published on
  1. Create a new SSH key (set strong Password)
    ssh-keygen -t ed25519 -C "user@host"
  2. by default it's stored in ~/.ssh/id_ed25519 (private key) and ~/.ssh/id_ed25519.pub (public key)
  3. add your public key (not Private !) where you need it, e.g. the following places and remove old ones:
    1. https://github.com/settings/keys
    2. https://gitlab.com/profile/keys