【Git clone failed 提示in.. ssh: connect to host xx.xx.xx.xx port 22: Connection timed out fatal: Coul】

报错如下:

remote: Enumerating objects: 2780        
remote: Enumerating objects: 3149, done.        
remote: Counting objects:   0% (1/369)        
remote: Counting objects:   1% (4/369)        
remote: Counting objects:   2% (8/369)        
remote: Counting objects:   3% (12/369)        
remote: Counting objects:   4% (15/369)        
remote: Counting objects:   5% (19/369)        
remote: Counting objects:   6% (23/369)        
remote: Counting objects:   7% (26/369)        
remote: Counting objects:   8% (30/369)        
remote: Counting objects:   9% (34/369)        
remote: Counting objects:  10% (37/369)        
remote: Counting objects:  10% (40/369)        
remote: Counting objects:  11% (41/369)        
remote: Counting objects:  12% (45/369)        
remote: Counting objects:  12% (46/369)        
remote: Counting objects:  13% (48/369)        
remote: Counting objects:  14% (52/369)        
remote: Counting objects:  15% (56/369)        
remote: Counting objects:  16% (60/369)        
remote: Counting objects:  16% (61/369)        
remote: Counting objects:  17% (63/369)        
remote: Counting objects:  18% (67/369)        
remote: Counting objects:  19% (71/369)        
remote: Counting objects:  20% (74/369)        
remote: Counting objects:  21% (78/369)        
remote: Counting objects:  22% (82/369)        
remote: Counting objects:  23% (85/369)        
remote: Counting objects:  24% (89/369)        
remote: Counting objects:  25% (93/369)        
remote: Counting objects:  26% (96/369)        
remote: Counting objects:  27% (100/369)        
remote: Counting objects:  28% (104/369)        
remote: Counting objects:  29% (108/369)        
remote: Counting objects:  30% (111/369)        
remote: Counting objects:  31% (115/369)        
remote: Counting objects:  32% (119/369)        
remote: Counting objects:  33% (122/369)        
remote: Counting objects:  34% (126/369)        
remote: Counting objects:  35% (130/369)        
remote: Counting objects:  36% (133/369)        
remote: Counting objects:  37% (137/369)        
remote: Counting objects:  38% (141/369)        
remote: Counting objects:  39% (144/369)        
remote: Counting objects:  40% (148/369)        
remote: Counting objects:  41% (152/369)        
remote: Counting objects:  42% (155/369)        
remote: Counting objects:  43% (159/369)        
remote: Counting objects:  44% (163/369)        
remote: Counting objects:  45% (167/369)        
remote: Counting objects:  46% (170/369)        
remote: Counting objects:  47% (174/369)        
remote: Counting objects:  48% (178/369)        
remote: Counting objects:  49% (181/369)        
remote: Counting objects:  50% (185/369)        
remote: Counting objects:  51% (189/369)        
remote: Counting objects:  52% (192/369)        
remote: Counting objects:  53% (196/369)        
remote: Counting objects:  54% (200/369)        
remote: Counting objects:  55% (203/369)        
remote: Counting objects:  56% (207/369)        
remote: Counting objects:  57% (211/369)        
remote: Counting objects:  58% (215/369)        
remote: Counting objects:  59% (218/369)        
remote: Counting objects:  60% (222/369)        
remote: Counting objects:  61% (226/369)        
remote: Counting objects:  62% (229/369)        
remote: Counting objects:  63% (233/369)        
remote: Counting objects:  64% (237/369)        
remote: Counting objects:  65% (240/369)        
remote: Counting objects:  66% (244/369)        
remote: Counting objects:  67% (248/369)        
remote: Counting objects:  68% (251/369)        
remote: Counting objects:  69% (255/369)        
remote: Counting objects:  70% (259/369)        
remote: Counting objects:  71% (262/369)        
remote: Counting objects:  72% (266/369)        
remote: Counting objects:  73% (270/369)        
remote: Counting objects:  74% (274/369)        
remote: Counting objects:  75% (277/369)        
remote: Counting objects:  76% (281/369)        
remote: Counting objects:  77% (285/369)        
remote: Counting objects:  78% (288/369)        
remote: Counting objects:  79% (292/369)        
remote: Counting objects:  80% (296/369)        
remote: Counting objects:  81% (299/369)        
remote: Counting objects:  82% (303/369)        
remote: Counting objects:  83% (307/369)        
remote: Counting objects:  84% (310/369)        
remote: Counting objects:  85% (314/369)        
remote: Counting objects:  86% (318/369)        
remote: Counting objects:  87% (322/369)        
remote: Counting objects:  88% (325/369)        
remote: Counting objects:  89% (329/369)        
remote: Counting objects:  90% (333/369)        
remote: Counting objects:  91% (336/369)        
remote: Counting objects:  92% (340/369)        
remote: Counting objects:  93% (344/369)        
remote: Counting objects:  94% (347/369)        
remote: Counting objects:  95% (351/369)        
remote: Counting objects:  96% (355/369)        
remote: Counting objects:  97% (358/369)        
remote: Counting objects:  98% (362/369)        
remote: Counting objects:  99% (366/369)        
remote: Counting objects: 100% (369/369)        
remote: Counting objects: 100% (369/369), done.        
remote: Compressing objects:   0% (1/196)        
remote: Compressing objects:   1% (2/196)        
remote: Compressing objects:   2% (4/196)        
remote: Compressing objects:   3% (6/196)        
remote: Compressing objects:   4% (8/196)        
remote: Compressing objects:   5% (10/196)        
remote: Compressing objects:   6% (12/196)        
remote: Compressing objects:   7% (14/196)        
remote: Compressing objects:   8% (16/196)        
remote: Compressing objects:   9% (18/196)        
remote: Compressing objects:  10% (20/196)        
remote: Compressing objects:  11% (22/196)        
remote: Compressing objects:  12% (24/196)        
remote: Compressing objects:  13% (26/196)        
remote: Compressing objects:  14% (28/196)        
remote: Compressing objects:  15% (30/196)        
remote: Compressing objects:  16% (32/196)        
remote: Compressing objects:  17% (34/196)        
remote: Compressing objects:  18% (36/196)        
remote: Compressing objects:  19% (38/196)        
remote: Compressing objects:  20% (40/196)        
remote: Compressing objects:  21% (42/196)        
remote: Compressing objects:  22% (44/196)        
remote: Compressing objects:  23% (46/196)        
remote: Compressing objects:  24% (48/196)        
remote: Compressing objects:  25% (49/196)        
remote: Compressing objects:  26% (51/196)        
remote: Compressing objects:  27% (53/196)        
remote: Compressing objects:  28% (55/196)        
remote: Compressing objects:  29% (57/196)        
remote: Compressing objects:  30% (59/196)        
remote: Compressing objects:  31% (61/196)        
remote: Compressing objects:  32% (63/196)        
remote: Compressing objects:  33% (65/196)        
remote: Compressing objects:  34% (67/196)        
remote: Compressing objects:  35% (69/196)        
remote: Compressing objects:  36% (71/196)        
remote: Compressing objects:  37% (73/196)        
remote: Compressing objects:  38% (75/196)        
remote: Compressing objects:  39% (77/196)        
remote: Compressing objects:  40% (79/196)        
remote: Compressing objects:  41% (81/196)        
remote: Compressing objects:  42% (83/196)        
remote: Compressing objects:  43% (85/196)        
remote: Compressing objects:  44% (87/196)        
remote: Compressing objects:  45% (89/196)        
remote: Compressing objects:  46% (91/196)        
remote: Compressing objects:  47% (93/196)        
remote: Compressing objects:  48% (95/196)        
remote: Compressing objects:  49% (97/196)        
remote: Compressing objects:  50% (98/196)        
remote: Compressing objects:  51% (100/196)        
remote: Compressing objects:  52% (102/196)        
remote: Compressing objects:  53% (104/196)        
remote: Compressing objects:  54% (106/196)        
remote: Compressing objects:  55% (108/196)        
remote: Compressing objects:  56% (110/196)        
remote: Compressing objects:  57% (112/196)        
remote: Compressing objects:  58% (114/196)        
remote: Compressing objects:  59% (116/196)        
remote: Compressing objects:  60% (118/196)        
remote: Compressing objects:  61% (120/196)        
remote: Compressing objects:  62% (122/196)        
remote: Compressing objects:  63% (124/196)        
remote: Compressing objects:  64% (126/196)        
remote: Compressing objects:  65% (128/196)        
remote: Compressing objects:  66% (130/196)        
remote: Compressing objects:  67% (132/196)        
remote: Compressing objects:  68% (134/196)        
remote: Compressing objects:  69% (136/196)        
remote: Compressing objects:  70% (138/196)        
remote: Compressing objects:  71% (140/196)        
remote: Compressing objects:  72% (142/196)        
remote: Compressing objects:  73% (144/196)        
remote: Compressing objects:  74% (146/196)        
remote: Compressing objects:  75% (147/196)        
remote: Compressing objects:  76% (149/196)        
remote: Compressing objects:  77% (151/196)        
remote: Compressing objects:  78% (153/196)        
remote: Compressing objects:  79% (155/196)        
remote: Compressing objects:  80% (157/196)        
remote: Compressing objects:  81% (159/196)        
remote: Compressing objects:  82% (161/196)        
remote: Compressing objects:  83% (163/196)        
remote: Compressing objects:  84% (165/196)        
remote: Compressing objects:  85% (167/196)        
remote: Compressing objects:  86% (169/196)        
remote: Compressing objects:  87% (171/196)        
remote: Compressing objects:  88% (173/196)        
remote: Compressing objects:  89% (175/196)        
remote: Compressing objects:  90% (177/196)        
remote: Compressing objects:  91% (179/196)        
remote: Compressing objects:  92% (181/196)        
remote: Compressing objects:  93% (183/196)        
remote: Compressing objects:  94% (185/196)        
remote: Compressing objects:  95% (187/196)        
remote: Compressing objects:  96% (189/196)        
remote: Compressing objects:  97% (191/196)        
remote: Compressing objects:  98% (193/196)        
remote: Compressing objects:  99% (195/196)        
remote: Compressing objects: 100% (196/196)        
remote: Compressing objects: 100% (196/196), done.        
Receiving objects:   0% (1/3149)
Receiving objects:   1% (32/3149)
Receiving objects:   2% (63/3149)
Receiving objects:   3% (95/3149)
Receiving objects:   4% (126/3149)
Receiving objects:   5% (158/3149)
Receiving objects:   6% (189/3149)
Receiving objects:   7% (221/3149)
Receiving objects:   8% (252/3149)
Receiving objects:   9% (284/3149)
Receiving objects:  10% (315/3149)
Receiving objects:  11% (347/3149)
Receiving objects:  12% (378/3149)
Receiving objects:  13% (410/3149)
Receiving objects:  14% (441/3149)
Receiving objects:  15% (473/3149)
Receiving objects:  16% (504/3149)
Receiving objects:  16% (512/3149), 6.97 MiB | 6.95 MiB/s
Receiving objects:  16% (512/3149), 14.39 MiB | 7.17 MiB/s
Receiving objects:  16% (512/3149), 21.72 MiB | 7.21 MiB/s
Receiving objects:  16% (512/3149), 25.35 MiB | 6.31 MiB/s
Receiving objects:  17% (536/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  18% (567/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  19% (599/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  20% (630/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  21% (662/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  22% (693/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  23% (725/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  24% (756/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  25% (788/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  26% (819/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  27% (851/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  28% (882/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  29% (914/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  30% (945/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  31% (977/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  32% (1008/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  33% (1040/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  34% (1071/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  35% (1103/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  36% (1134/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  37% (1166/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  38% (1197/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  39% (1229/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  40% (1260/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  41% (1292/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  42% (1323/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  43% (1355/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  44% (1386/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  45% (1418/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  46% (1449/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  47% (1481/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  48% (1512/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  49% (1544/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  50% (1575/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  51% (1606/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  52% (1638/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  53% (1669/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  54% (1701/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  55% (1732/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  56% (1764/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  57% (1795/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  58% (1827/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  59% (1858/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  60% (1890/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  61% (1921/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  62% (1953/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  63% (1984/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  64% (2016/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  65% (2047/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  66% (2079/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  67% (2110/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  68% (2142/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  69% (2173/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  70% (2205/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  71% (2236/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  72% (2268/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  73% (2299/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  74% (2331/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  75% (2362/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  76% (2394/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  77% (2425/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  78% (2457/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  79% (2488/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  80% (2520/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  81% (2551/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  82% (2583/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  83% (2614/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  84% (2646/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  85% (2677/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  86% (2709/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  87% (2740/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  88% (2772/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  89% (2803/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  90% (2835/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  91% (2866/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  92% (2898/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  93% (2929/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  94% (2961/3149), 28.81 MiB | 6.37 MiB/s
remote: Total 3149 (delta 256), reused 221 (delta 149), pack-reused 2780        
Receiving objects:  95% (2992/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  96% (3024/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  97% (3055/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  98% (3087/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects:  99% (3118/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects: 100% (3149/3149), 28.81 MiB | 6.37 MiB/s
Receiving objects: 100% (3149/3149), 29.13 MiB | 6.36 MiB/s, done.
Resolving deltas:   0% (0/1798)
Resolving deltas:   1% (18/1798)
Resolving deltas:   2% (36/1798)
Resolving deltas:   3% (54/1798)
Resolving deltas:   4% (72/1798)
Resolving deltas:   5% (90/1798)
Resolving deltas:   6% (108/1798)
Resolving deltas:   7% (126/1798)
Resolving deltas:   8% (144/1798)
Resolving deltas:   9% (162/1798)
Resolving deltas:  10% (180/1798)
Resolving deltas:  11% (199/1798)
Resolving deltas:  12% (216/1798)
Resolving deltas:  13% (234/1798)
Resolving deltas:  14% (252/1798)
Resolving deltas:  15% (270/1798)
Resolving deltas:  16% (288/1798)
Resolving deltas:  17% (306/1798)
Resolving deltas:  18% (324/1798)
Resolving deltas:  19% (342/1798)
Resolving deltas:  20% (360/1798)
Resolving deltas:  21% (378/1798)
Resolving deltas:  22% (396/1798)
Resolving deltas:  23% (414/1798)
Resolving deltas:  24% (432/1798)
Resolving deltas:  25% (450/1798)
Resolving deltas:  26% (468/1798)
Resolving deltas:  27% (486/1798)
Resolving deltas:  28% (504/1798)
Resolving deltas:  29% (522/1798)
Resolving deltas:  30% (540/1798)
Resolving deltas:  31% (558/1798)
Resolving deltas:  32% (576/1798)
Resolving deltas:  33% (595/1798)
Resolving deltas:  34% (612/1798)
Resolving deltas:  35% (630/1798)
Resolving deltas:  36% (648/1798)
Resolving deltas:  37% (666/1798)
Resolving deltas:  38% (684/1798)
Resolving deltas:  39% (702/1798)
Resolving deltas:  40% (720/1798)
Resolving deltas:  41% (738/1798)
Resolving deltas:  42% (756/1798)
Resolving deltas:  43% (774/1798)
Resolving deltas:  44% (792/1798)
Resolving deltas:  45% (810/1798)
Resolving deltas:  46% (828/1798)
Resolving deltas:  47% (846/1798)
Resolving deltas:  48% (864/1798)
Resolving deltas:  49% (882/1798)
Resolving deltas:  50% (900/1798)
Resolving deltas:  51% (917/1798)
Resolving deltas:  52% (935/1798)
Resolving deltas:  53% (953/1798)
Resolving deltas:  54% (971/1798)
Resolving deltas:  55% (989/1798)
Resolving deltas:  56% (1007/1798)
Resolving deltas:  57% (1025/1798)
Resolving deltas:  58% (1043/1798)
Resolving deltas:  59% (1061/1798)
Resolving deltas:  60% (1079/1798)
Resolving deltas:  61% (1097/1798)
Resolving deltas:  62% (1115/1798)
Resolving deltas:  63% (1133/1798)
Resolving deltas:  64% (1151/1798)
Resolving deltas:  65% (1169/1798)
Resolving deltas:  66% (1187/1798)
Resolving deltas:  67% (1205/1798)
Resolving deltas:  68% (1223/1798)
Resolving deltas:  69% (1241/1798)
Resolving deltas:  70% (1259/1798)
Resolving deltas:  71% (1278/1798)
Resolving deltas:  72% (1295/1798)
Resolving deltas:  73% (1313/1798)
Resolving deltas:  74% (1331/1798)
Resolving deltas:  75% (1349/1798)
Resolving deltas:  76% (1367/1798)
Resolving deltas:  77% (1385/1798)
Resolving deltas:  78% (1403/1798)
Resolving deltas:  79% (1421/1798)
Resolving deltas:  80% (1439/1798)
Resolving deltas:  81% (1459/1798)
Resolving deltas:  82% (1475/1798)
Resolving deltas:  83% (1493/1798)
Resolving deltas:  84% (1511/1798)
Resolving deltas:  85% (1529/1798)
Resolving deltas:  86% (1547/1798)
Resolving deltas:  87% (1565/1798)
Resolving deltas:  88% (1583/1798)
Resolving deltas:  89% (1601/1798)
Resolving deltas:  90% (1619/1798)
Resolving deltas:  91% (1637/1798)
Resolving deltas:  92% (1655/1798)
Resolving deltas:  93% (1673/1798)
Resolving deltas:  94% (1691/1798)
Resolving deltas:  95% (1709/1798)
Resolving deltas:  96% (1727/1798)
Resolving deltas:  97% (1745/1798)
Resolving deltas:  98% (1763/1798)
Resolving deltas:  99% (1781/1798)
Resolving deltas: 100% (1798/1798)
Resolving deltas: 100% (1798/1798), done.
usage: git submodule [--quiet] add [-b ] [-f|--force] [--name ] [--reference ] [--]  []
   or: git submodule [--quiet] status [--cached] [--recursive] [--] [...]
   or: git submodule [--quiet] init [--] [...]
   or: git submodule [--quiet] deinit [-f|--force] (--all| [--] ...)
   or: git submodule [--quiet] update [--init] [--remote] [-N|--no-fetch] [-f|--force] [--checkout|--merge|--rebase] [--[no-]recommend-shallow] [--reference ] [--recursive] [--] [...]
   or: git submodule [--quiet] summary [--cached|--files] [--summary-limit ] [commit] [--] [...]
   or: git submodule [--quiet] foreach [--recursive] 
   or: git submodule [--quiet] sync [--recursive] [--] [...]
   or: git submodule [--quiet] absorbgitdirs [--] [...]

git命令未指定分支直接 git clone url 有可能出现上述的问题,
解决方法:
git clone -b master xxx.git 即可解决。

你可能感兴趣的:(git,ssh,服务器)