# Clonage git dans le cluster

**URL:** <https://community.france-bioinformatique.fr/t/clonage-git-dans-le-cluster/155>\
**Category:** IFB Core Cluster\
**Tags:** github\
**Created:** [Mai 7, 2019, 3:22 UTC](https://community.france-bioinformatique.fr/t/clonage-git-dans-le-cluster/155 "2019-05-07T15:22:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jvanhelden](https://community.france-bioinformatique.fr/user_avatar/community.france-bioinformatique.fr/jvanhelden/32/45_2.png) [@jvanhelden](https://community.france-bioinformatique.fr/u/jvanhelden)\
**Post date:** [Mai 7, 2019, 3:22 UTC](https://community.france-bioinformatique.fr/t/clonage-git-dans-le-cluster/155/1 "2019-05-07T15:22:28Z")

</div>

Je n'arrive pas à cloner les dépôts github dans mon compte [jvanhelden@core.cluster.france-bioinformatique.fr](mailto:jvanhelden@core.cluster.france-bioinformatique.fr)

j'arrive à le faire en http mais pas via [git@github.com](mailto:git@github.com) (erreur ci-dessous)

Je pense que c'est parce que mon login sur le cluster est jvanhelden alors que sur github (et partout ailleurs) il est jvanheld.

Serait-il possible de changer mon login du cluster en jvanheld ? Ma vie deviendrait beaucoup plus facile car j'utilise github pour un tas de projets.

Alternativement, quelqu'un sait-il comment cloner à partir de git@github en disant que je suis jvanheld et non jvanhelden ?

Merci

Jacques

```auto
[jvanhelden@clust-slurm-client ~]$ git clone git@github.com:GREEKC/hackathon-marseille.git

Cloning into 'hackathon-marseille'...

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

```

---

<div class="post-metadata">

**Author:** ![gildaslecorguille](https://community.france-bioinformatique.fr/user_avatar/community.france-bioinformatique.fr/gildaslecorguille/32/6_2.png) [@gildaslecorguille](https://community.france-bioinformatique.fr/u/gildaslecorguille)\
**Post date:** [Mai 7, 2019, 7:58 UTC](https://community.france-bioinformatique.fr/t/clonage-git-dans-le-cluster/155/2 "2019-05-07T19:58:20Z")

</div>

Pour moi, ce n'est pas ton login qui joue avec git ou github :

- Pour t'authentifier, il suffit de configurer ta clé ssh sur github : [Adding a new SSH key to your GitHub account](https://help.github.com/en/articles/adding-a-new-ssh-key-to-your-github-account)
- Pour associer tes commits à ton compte github, c'est l'email que tu as configuré avec [`git config`](https://git-scm.com/book/fr/v1/D%C3%A9marrage-rapide-Param%C3%A9trage-%C3%A0-la-premi%C3%A8re-utilisation-de-Git)

Enfin, je crois !
