无法建立主机'bitbucket.org(131.103.20.168)'的真实性 [英] The authenticity of host 'bitbucket.org (131.103.20.168)' can't be established
问题描述
在Cloud9中,我这样做:
In Cloud9 I do:
$ git push -u origin --all
The authenticity of host 'bitbucket.org (131.103.20.168)' can't be established.
RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40.
Are you sure you want to continue connecting (yes/no)?
我将cloud9中的ssh-key
添加到了Bitbucket.足以让Cloud9对Bitbucket进行身份验证吗?
I added the ssh-key
from cloud9 to Bitbucket. Shouldn't that be enough to have Bitbucket authenticated by Cloud9?
推荐答案
否.首次连接到bitbucket时,计算机上的ssh客户端会将RSA指纹存储在名为known_hosts
的文件中.然后,在每个连接服务器指纹之前都将使用存储的指纹进行验证(以避免中间人攻击).
No. When you'll first connecting to bitbucket, ssh client on your machine will store RSA fingerprint in file called known_hosts
. Then before each connection server fingerprint will be validated with stored one (to avoid man-in-the-middle attack).
So - you need to accept this fingerprint only once (if you're diligent you should compare it with fingerprint provided by bitbucket).
这篇关于无法建立主机'bitbucket.org(131.103.20.168)'的真实性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!