Verified Commit dc88ccf4 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

tp.md: fix git serveur link

parent ee3e7323
# Setup your environment
We are going to write some basic configuration files to be able to connect to the [gitlab server of the LBMC](http://gitlab.biologie.ens-lyon.fr).
We are going to write some basic configuration files to be able to connect to the [gitlab server of the LBMC](http://gitbio.ens-lyon.fr).
If you are not using your own laptop, remember to delete your `~/.ssh` folder at the end of the TP.
Otherwise, somebody else could use your ssh key if you don’t protect them with a password.
But don’t stress too much about it, you can always remove the key later from your [gitlab configuration](http://gitlab.biologie.ens-lyon.fr/profile/keys).
But don’t stress too much about it, you can always remove the key later from your [gitlab configuration](http://gitbio.ens-lyon.fr/profile/keys).
Throughout this practical, every string between chevrons `<like this one>` must be replaced with the adequate value.
......@@ -59,9 +59,8 @@ Otherwise, `ssh` won’t let you use this configuration file for security reason
- You need to add the following lines to the file `~/.ssh/config` to use it automatically for connection to `gitlab_lbmc`.
```sh
Host gitlab_lbmc
Port 2222
HostName gitlab.biologie.ens-lyon.fr
Host gitbio.ens-lyon.fr
HostName gitbio.ens-lyon.fr
User git
IdentitiesOnly yes
IdentityFile ~/.ssh/id_rsa_gitlab_lbmc
......@@ -69,7 +68,7 @@ Host gitlab_lbmc
This configuration provides you with the shortcut `gitlab_lbmc` to connect to the `gitlab.biologie.ens-lyon.fr` server on the port `2222` under the `git` user, without using a password and using the identity key ` ~/.ssh/id_rsa_gitlab_lbmc`.
- Finally, go to [http://gitlab.biologie.ens-lyon.fr/profile/keys](http://gitlab.biologie.ens-lyon.fr/profile/keys) and paste the content of the file `~/.ssh/id_rsa_gitlab_lbmc.pub`
- Finally, go to [http://gitbio.ens-lyon.fr/profile/keys](http://gitbio.ens-lyon.fr/profile/keys) and paste the content of the file `~/.ssh/id_rsa_gitlab_lbmc.pub`
To test your connection run:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment