Skip to content
Snippets Groups Projects
Commit 093d59bc authored by Nicolas Henry's avatar Nicolas Henry
Browse files

default ssh key name

use by default ssh naming to avoid having to do extra steps
parent fb5e413d
No related branches found
No related tags found
1 merge request!11default ssh key name
...@@ -41,13 +41,13 @@ Using SSH to interact with the repository required you to copy an SSH key file t ...@@ -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: 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. 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: 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: An example of how to generate a key pair and view the public key is given in the following screencast:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment