Skip to content
Snippets Groups Projects

default ssh key name

Merged Nicolas Henry requested to merge team-collaboration into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -41,13 +41,13 @@ Using SSH to interact with the repository required you to copy an SSH key file t
The command to generate a key looks like:
```
ssh-keygen -t ed25519 -f ~/.ssh/ed25519_gitlab
ssh-keygen -t ed25519
```
And creates two files: a file with a secret key and a file with a public key.
To display the contents of the file with the public key, use:
```
cat ~/.ssh/ed25519_gitlab.pub
cat ~/.ssh/id_ed25519.pub
```
An example of how to generate a key pair and view the public key is given in the following screencast:
Loading