简体   繁体   中英

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

Hi Im trying to clone repo from gitlab with ssh. but it stucks at

"Cloning into '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)
  2. HTTPS cloing works fine from GitLab.
  3. tried command- ssh -i ~/.ssh/id_rsa git@gitlab.com but no response just hangs there
  4. Tried command -

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

OpenSSH_8.2p1 Ubuntu-4ubuntu0.2, OpenSSL 1.1.1f 31 Mar 2020

debug1: Reading configuration data /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 line 21: Applying options for *

debug2: resolving "gitlab.com" port 22

debug2: ssh_connect_direct

debug1: Connecting to gitlab.com [2606:4700:90:0:f22e:fbec:5bed:a9b9] port 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. Dont know why this is happening. But its cloning

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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