如何访问新创建的Gitlab帐号?

时间:2018-02-19 18:44:05

标签: permissions repository gitlab access

我创建了一个全新的Gitlab帐户,启动了一个空的私有项目,上传了SSH密钥并希望在我的Windows 10系统上连接到gitbash中的存储库,但我总是收到消息:

> Permission denied (publickey).
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.

我可以做些什么让Gitlab让我进入我自己的项目?

2 个答案:

答案 0 :(得分:0)

在某些情况下,您需要在gitlab项目中添加部署密钥。此链接将帮助您进行设置。

https://docs.gitlab.com/ce/ssh/README.html#deploy-keys

答案 1 :(得分:0)

这是SSH密钥本身。我用PuTTYgen生成它。我不知道出了什么问题,但是当我按照Gitlab说明生成SSH密钥时Generating a new SSH key pair with ssh-keygen 它有效。

相关问题