T
T
TechnoStorm2014-11-09 20:06:19
git
TechnoStorm, 2014-11-09 20:06:19

How to properly connect Git to Bitbucket via SSH?

Can't SSH to Bitbucket on Windows 7. Using Git Bash . The actions are as follows: * In the console I enter " ssh-keygen ", in the directory " ~/.ssh/ " there are public and private key files. * I copy the contents of the public key (.pub) and add it to the SSH keys section in my Bitbucket account . * I create a file " config " in the folder with the keys and enter the following into it:



Host bitbucket.org
 IdentityFile ~/.ssh/id_rsa

* I try to check the connection by entering "ssh -t bitbucket.org", in response I get something like this:
The authenticity of host 'bitbucket.org (77.41.109.233)' can't be established. ECDSA key fingerprint is c6:18:57:0b:63:e8:d4:e6:6d:04:d6:5c:38:a7:10:e5. Are you sure you want to continue connecting (yes/no)?

What am I doing wrong? Where does this problem with the authenticity of the key come from?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Rodkin, 2014-11-09
@VovanR

It says here that such a fingerprint has not yet been added to trusted hosts. Write yesand press Enter . It will be added to your list of trusted hosts and next time there will be no such message.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question