Skip to content

SSh-key

Ed25519

% ssh-keygen -t ed25519

Generating public/private ed25519 key pair.
Enter file in which to save the key (/Users/me/.ssh/id_ed25519): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /Users/me/.ssh/id_ed25519
Your public key has been saved in /Users/me/.ssh/id_ed25519.pub
The key fingerprint is:
SHA256:7M02z3yIsnQakuRLQn0NjKNDixU+3gKZol0 me@MacBookAir-M2.local
The key's randomart image is:
+--[ED25519 256]--+
|                 |
|                 |
|     .           |
|    .o..  .  .   |
|  . E+ oS  oo    |
| o.o..+. o+o.    |
|. .=..o.oB*.o    |
|  *....+ o=++o.  |
|   +..o. o +o+o. |
+----[SHA256]-----+
% cd 
~ % cd .ssh 
.ssh % ls
id_ed25519
id_ed25519.pub
.ssh % pbcopy < id_ed25519.pub

Paste it in your gitlab site as a public key


Last update: January 18, 2024