...
Code Block |
---|
theme | Confluence |
---|
language | cpp |
---|
|
$ ssh-keygen -t rsaed25519 -C "your_email@example.com"
# Creates a new ssh key, using the provided email as a label
# Generating public/private rsaed25519 key pair.
# Enter file in which to save the key (/chome/Userseric/you/.ssh/id_rsaed25519): [Press
enter]
$ ssh-add id_rsa |
Now you need to enter a passphrase.
Code Block |
---|
theme | Confluence |
---|
language | cpp |
---|
|
Enter passphrase (empty for no passphrase): [Type
a passphrase]
Enter same passphrase again: [Type
passphrase again] |
Which should give you something like this:
Code Block |
---|
theme | Confluence |
---|
language | cpp |
---|
|
Your identification has been saved in /chome/Userseric/you/.ssh/id_rsa.ed25519
Your public key has been saved in /chome/Userseric/you/.ssh/id_rsaed25519.pub.
The key fingerprint is:
01:0f:f4:3b:ca:85:d6:17:a1:7d:f0:68:9d:f0:a2:dbSHA256:SS9opo/QHxT2cCwlX+ulhn3ZUVdhdG88vvliOVHJ/6c your_email@example.com
The key's randomart image is:
+--[ED25519 256]--+
| . . . .+B|
| = . . .o+|
| = = . . o.=|
| . O * o o.=o|
| = S * o .o.|
| . = o . . +|
| . o . =.|
| . + . = +|
| . o .E+o|
+----[SHA256]-----+ |
Step 3. Add your SSH key to Embedian Gitlab Server
...
Code Block |
---|
theme | Confluence |
---|
language | cpp |
---|
|
$ cat ~/.ssh/id_rsa.pubed25519
ssh-rsa AAAAB3NzaC1yc2EAAABDAQABAAABAQDQUEnh8uGpfxaZVU6+uE4bsDrs/tEE5/BPW7jMAxak
6qgOh6nUrQGBWS+VxMM2un3KzwvLRJSj8G4TnTK2CSmlBvR+X8ZeXNTyAdaDxULs/StVhH+QRtFEGy4o
iMIzvIlTyORY89jzhIsgZzwr01nqoSeWWASd+59JWtFjVy0nwVNVtbek7NfuIGGAPaijO5Wnshr2uChB
Pk8ScGjQ3z4VqNXP6CWhCXTqIk7EQl7yX2GKd6FgEFrzae+5Jf63Xm8g6abbE3ytCrMT/jYy5OOj2XSg
6jlxSFnKcONAcfMTWkTXeG/OgeGeG5kZdtqryRtOlGmOeuQe1dd3I+Zz3JyT your_email@example.c
om |
Go to Embedian Git Server. At Profile Setting --> SSH Keys --> Add SSH Key
...