RSA密钥指纹,如何获取密码?

时间:2017-11-15 08:09:45

标签: git gitlab rsa

我在Cloud9中创建了一个工作区,在gitlab中创建了一个repo。现在我正在尝试将我的东西从cloud9推送到这个仓库。 所以我做了:

$ git init
$ git add .
$ git commit -m 'some commit message'
$ git remote add origin git@urlToRepo

现在我试着推动我的东西并得到:

The authenticity of host 'gitlab.tubit.tu-berlin.de (xxx.xxx.x.xxx)'
can't be established.
RSA key fingerprint is f7:f3:1b:ba:94:16:20:09:71:5c:cf:3c:36:15:a8:f5.
Are you sure you want to continue connecting (yes/no)?

我回答是的。 然后出现了:

Warning: Permanently added 'gitlab.tubit.tu-berlin.de,xxx.xxx.x.xxx'
(RSA) to the list of known hosts.

然后它问我密码。但我不知道密码是什么意思,它是什么?

1 个答案:

答案 0 :(得分:0)

删除创建的旧SSH密钥。 git已初始化,您只需再次使用pull and push命令。