You can use no passphrase if you do not share your private key (if it stays on your laptop).
You can use no passphrase if you do not share your private key (if it stays on your laptop).
The previous command created 2 files located in `/c/Users/your_name/.ssh/`. A public key `id_rsa.pub` and a private key `id_rsa`. The private key is similar to a password. Anyone who owns this file is able to behave as you on GitLab. It should never be shared if it is not protected by a password!
The previous command created 2 files located in `/c/Users/your_name/.ssh/`. A public key `id_rsa.pub` and a private key `id_rsa`. The private key is similar to a password. Anyone who owns this file is able to behave as you on GitLab! It should never be shared if it is not protected by a password!
Open the public key (file `/c/Users/your_name/.ssh/id_rsa.pub`) in an editor...
Open the public key (file `/c/Users/your_name/.ssh/id_rsa.pub`) in an editor...
...
@@ -60,7 +60,7 @@ Open the public key (file `/c/Users/your_name/.ssh/id_rsa.pub`) in an editor...
...
@@ -60,7 +60,7 @@ Open the public key (file `/c/Users/your_name/.ssh/id_rsa.pub`) in an editor...
Then click on the "Add" button.
Then click on the "Add" button.
You can test that you are able to connect to GitLab with the following command (check that you target `gitlab.uliege.be` instead of `gitlab.com` in the instructions!):
You can test that you are able to connect to GitLab with the following command in a "git-bash terminal" (check that you target `gitlab.uliege.be` instead of `gitlab.com` in the instructions!):
```
```
ssh -T git@gitlab.uliege.be
ssh -T git@gitlab.uliege.be
```
```
...
@@ -75,9 +75,9 @@ answer `yes` (you will be asked only once).
...
@@ -75,9 +75,9 @@ answer `yes` (you will be asked only once).
Warning: Permanently added 'gitlab.uliege.be,139.165.47.38' (ECDSA) to the list of known hosts.
Warning: Permanently added 'gitlab.uliege.be,139.165.47.38' (ECDSA) to the list of known hosts.
```
```
```
```
Welcome to GitLab, @R.Boman!
Welcome to GitLab, @Your_name!
```
```
If you do not get the welcome message "Welcome to GitLab`, something went wrong in the previous steps.
If you do not get the welcome message "Welcome to GitLab`, something went wrong in the previous steps. Read again the instructions.