简体   繁体   English

创建本地 git 存储库失败

[英]creation of local git repository fails

I am tyring to create a local git repository with this command on ubuntu 14.10, but it fails with error "you don't have correct access rights".我正在尝试在 ubuntu 14.10 上使用此命令创建本地 git 存储库,但失败并显示错误“您没有正确的访问权限”。 Any idea what could be the problem?, is it a firewall issus?知道可能是什么问题吗?是防火墙问题吗?

$git clone -o khronos git@gitlab.khronos.org:vulkan/LoaderAndTools.git .
Cloning into '.'...
ssh: connect to host gitlab.khronos.org port 22: Connection timed out
fatal: Could not read from remote repository.

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

Thanks谢谢

The Connection timed out message indicates that your machine cannot connect to port 22.连接超时消息表示您的机器无法连接到端口 22。

As I can reach gitlab.khronos.org port 22 fine, my conclusion would be that it is a firewall in your local network that is the problem.由于我可以很好地访问 gitlab.khronos.org 端口 22,因此我的结论是本地网络中的防火墙是问题所在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM