linux - 创建本地 git 存储库失败

标签 linux git github gitlab

我尝试在 ubuntu 14.10 上使用此命令创建本地 git 存储库,但失败并显示错误“您没有正确的访问权限”。知道可能是什么问题吗?是防火墙问题吗?

$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.

谢谢

最佳答案

连接超时消息表示您的机器无法连接到端口 22。

因为我可以正常访问 gitlab.khronos.org 端口 22,所以我的结论是,问题出在您本地网络中的防火墙。

关于linux - 创建本地 git 存储库失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33628961/

相关文章:

git - 本地 git checkin ——从主存储库中 stash ?

git - 从 master 更改为新的默认分支 git

git - 自动同步两个 git 仓库

linux - linux 内核中的 kmalloc() 功能

没有gettext的Linux Glib安装?

git - Git 可以用来更新客户端计算机上的软件吗?

git - Composer 更新 - 没有获得最新版本

php - 如何在apache中重定向php文件

c - 如何正确写入套接字

Github for mac diff 选项