简体   繁体   English

gitlab 未克隆 ( ssh ) 停留在“克隆到'repo'...”

[英]gitlab not cloning ( ssh ) stuck at “Cloning into 'repo'…”

Hi Im trying to clone repo from gitlab with ssh.嗨,我正在尝试使用 ssh 从 gitlab 克隆 repo。 but it stucks at但它停留在

"Cloning into 'repo'..." “克隆到‘repo’中……”

Note:笔记:

  1. same rsa key works fine when i try to clone from github, so there might not be port block issue (not sure on this assumption)当我尝试从 github 克隆时,相同的 rsa 密钥工作正常,因此可能没有端口阻塞问题(在此假设下不确定)
  2. HTTPS cloing works fine from GitLab. HTTPS cloing 从 GitLab 可以正常工作。
  3. tried command- ssh -i ~/.ssh/id_rsa git@gitlab.com but no response just hangs there尝试了命令- ssh -i ~/.ssh/id_rsa git@gitlab.com 但没有响应只是挂在那里
  4. Tried command -试过的命令 -

root@352-526:~# ssh -vvv git@gitlab.com root@352-526:~# ssh -vvv git@gitlab.com

OpenSSH_8.2p1 Ubuntu-4ubuntu0.2, OpenSSL 1.1.1f 31 Mar 2020 OpenSSH_8.2p1 Ubuntu-4ubuntu0.2、OpenSSL 1.1.1f 2020 年 3 月 31 日

debug1: Reading configuration data /etc/ssh/ssh_config debug1:读取配置数据 /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files debug1:/etc/ssh/ssh_config 第 19 行:包括 /etc/ssh/ssh_config.d/*.conf 没有匹配的文件

debug1: /etc/ssh/ssh_config line 21: Applying options for * debug1:/etc/ssh/ssh_config 第 21 行:为 * 应用选项

debug2: resolving "gitlab.com" port 22 debug2:解析“gitlab.com”端口 22

debug2: ssh_connect_direct调试2:ssh_connect_direct

debug1: Connecting to gitlab.com [2606:4700:90:0:f22e:fbec:5bed:a9b9] port 22. debug1:连接到 gitlab.com [2606:4700:90:0:f22e:fbec:5bed:a9b9] 端口 22。

what am I missing.我错过了什么。 been stuck here for a while.被困在这里一段时间了。

Answerring my own question -回答我自己的问题 -

It was cloning But it takes around 5-10 mins just to start cloning.它是克隆但开始克隆大约需要 5-10 分钟。 Dont know why this is happening.不知道为什么会这样。 But its cloning但它的克隆

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

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