Problème pour envoyer mon repository sur github

Le problème exposé dans ce sujet a été résolu.

Bonsoir à tous et à toutes,

Je viens vers vous afin de vous présenter mon problème, en effet je souhaite mettre mon projet que j'ai fais sur mon pc, seulement lorsque je veux l'envoyer sur github avec les commandes git

1
2
git remote add origin git@github.com:Titouan35/Hello-world.git
git push -u origin master

j'obtiens une erreur:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
$ git push origin master
The authenticity of host 'github.com (192.30.252.129)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Je ne sais pas quoi faire …

Je vous remercie pour votre lecture et pour votre éventuelle aide,

Essaye d'utiliser HTTPS plutôt que SSH:

1
$ git remote add origin https://github.com/Titouan35/Hello-world.git

AlphaZeta

Plutôt que d'ajouter un remote, il devrait plutôt updater l'existent avec

1
git remote set-url origin https://github.com/Titouan35/Hello-world.git
+1 -0
Connectez-vous pour pouvoir poster un message.
Connexion

Pas encore membre ?

Créez un compte en une minute pour profiter pleinement de toutes les fonctionnalités de Zeste de Savoir. Ici, tout est gratuit et sans publicité.
Créer un compte