github git clone ssh协议 clone超慢解决方案,提高Github Clone速度
即使进行了fq吧但是git clone ssh协议就是慢 2kb/s你能忍,坚决不能忍。
github git clone ssh协议 clone超慢解决方案
151.101.72.249 global-ssl.fastly.Net
192.30.253.112 github.com
使用这个站点进行查询https://www.ipaddress.com/
# GitHub Start
151.101.76.249 global-ssl.fastly.Net
151.101.76.249 github.global.ssl.fastly.net
192.30.253.121 codeload.github.com
192.30.253.113 github.com
192.30.253.113 www.github.com
192.30.253.118 gist.github.com
151.101.192.133 assets-cdn.github.com
151.101.192.133 raw.githubusercontent.com
151.101.192.133 gist.githubusercontent.com
151.101.192.133 cloud.githubusercontent.com
151.101.192.133 camo.githubusercontent.com
151.101.192.133 avatars0.githubusercontent.com
151.101.192.133 avatars1.githubusercontent.com
151.101.192.133 avatars2.githubusercontent.com
151.101.192.133 avatars3.githubusercontent.com
151.101.192.133 avatars4.githubusercontent.com
151.101.192.133 avatars5.githubusercontent.com
151.101.192.133 avatars6.githubusercontent.com
151.101.192.133 avatars7.githubusercontent.com
151.101.192.133 avatars8.githubusercontent.com
52.216.80.48 github-cloud.s3.amazonaws.com
54.231.40.3 github-com.s3.amazonaws.com
52.216.20.171 github-production-release-asset-2e65be.s3.amazonaws.com
52.216.228.168 github-production-user-asset-6210df.s3.amazonaws.com
# GitHub End
晚上速度200kb/s,白天就木有问题基本上2-4mb/s
v2.json 本地端口设置
"inbounds": [
{
"port": 1086,
"listen": "127.0.0.1",
"protocol": "ss",//有关键词
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"settings": {
"auth": "noauth",
"udp": true,
"ip": null,
"clients": null
},
"streamSettings": null
},
{
"port": 1085,
"listen": "127.0.0.1",
"protocol": "http",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
git clone ssh 加速设置。SSH形式
修改 ~/.ssh/config 文件(不存在则新建):
# git@github.com landv
Host github.com
User landv
HostName github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/gitlandv_rsa
# 走 HTTP 代理
ProxyCommand socat - PROXY:127.0.0.1:%h:%p,proxyport=1085
#
# ProxyCommand nc -v -x 127.0.0.1:1080 %h %p
git clone HTTP 形式
走 HTTP 代理
git config --global http.proxy "http://127.0.0.1:8080"
git config --global https.proxy "http://127.0.0.1:8080"
取消设置
git config --global --unset http.proxy
git config --global --unset https.proxy
限定github.com
git config --global http.https://github.com.proxy http://127.0.0.1:8080
git config --global https.https://github.com.proxy http://127.0.0.1:8080
取消
git config --global --unset http.https://github.com.proxy
git config --global --unset https.https://github.com.proxy
git配置查看
git config -l
github git clone ssh协议 clone超慢解决方案,提高Github Clone速度的更多相关文章
- Git&GitHub 03 使用 SSH 协议
注意事项与声明 平台: Windows 10 作者: JamesNULLiu 邮箱: jamesnulliu@outlook.com 博客: https://www.cnblogs.com/james ...
- 使用idea操作git(ssh协议)
问题 我们发现,使用IDEA上的git功能,当使用ssh协议出现了可以commit但无法push和pull的问题,经过测试发现原因是Could not read from remsitory.直接翻译 ...
- git使用ssh协议,生成公钥和私钥,并指定私钥
http://superuser.com/questions/232373/how-to-tell-git-which-private-key-to-use In ~/.ssh/config, add ...
- git配置SSH Key,上传本地代码至github
git配置全局的name和email git config --global user.name "name" git config --global user.email &qu ...
- git clone ssh permissions are too open 解决方案。
错误如图所示 方案如下 https://stackoverflow.com/questions/9270734/ssh-permissions-are-too-open-error
- Git和SSH协议
SSH(安全外壳协议)为Secure Shell的缩写,由IETF的网络工作小组(Network Working Group)所制定:SSH为建立在应用层和传输层基础上的安全协议.SSH是目前较可靠, ...
- Git : SSH 协议服务器
SSH 协议用于为 Git 提供远程读写操作,是远程写操作的标准服务. SSH协议语法格式 对于拥有 shell 登录权限的用户账号,可以用下面的语法访问 Git 版本库: 语法 1 : ssh:// ...
- 15.Git四种协议-本地协议(local)、HTTP协议、SSH协议、Git协议
1.本地协议(loacl) 最基本的协议,其远程仓库其实就是硬盘内部的一个目录(例如D:\\project).常见于团队内的人对一个共享的文件系统(例如NFS)具有访问权限,或者多人共用一台电脑的情况 ...
- Git复习(二)之远程仓库、注册GitHub账号、SSH警告、使用GitHub
远程仓库 Git是分布式版本控制系统,同一个Git仓库,可以分布到不同的机器上.怎么分布呢?最早,肯定只有一台机器有一个原始版本库,此后,别的机器可以“克隆”这个原始版本库,而且每台机器的版本库其实都 ...
随机推荐
- 明解JAVA 第二章答案
练习2-1 编译错误,无法运行. 练习2-2 package candle1220; class Nightwatch{ public static void main(String[] args) ...
- Nuget包管理工具(程序包控制台执行语句)
NUGET命令 注:使用前确保nuget是最新版本,升级到最新版本有两种方式: (1).CMD将nuget升级到最新版本:nuget update -self (2).扩展中查看nuget是否需要更新 ...
- 动画展现十大经典排序算法(附Java代码)
0.算法概述 0.1 算法分类 十种常见排序算法可以分为两大类: 比较类排序:通过比较来决定元素间的相对次序,由于其时间复杂度不能突破O(nlogn),因此也称为非线性时间比较类排序. 非比较类排序: ...
- 【题解】Puzzle [Uva1399]
[题解]Puzzle [Uva1399] 传送门:\(\text{Puzzle [Uva1399]}\) [题目描述] 给定 \(m\) 和 \(n\),表示有 \(m\) 种不同的字符(大写字母\( ...
- GAN简介
GAN Generative Adversarial Networks 生成对抗网络.学习真实世界的真实数据的分布,用于创造以假乱真的数据.比如前段时间很火的应用deep fake.deep nude ...
- yield return,yield break
转自, http://www.cnblogs.com/kingcat/archive/2012/07/11/2585943.html yield return 表示在迭代中下一个迭代时返回的数据,除此 ...
- SQL server已经设置为单用户模式,Sql server还原失败数据库正在使用,无法获得对数据库的独占访问权
如果已经设置为单用户模式,还是报这个错误的话,就按照一下SQL执行就
- 尝试在iOS上使用gRPC
简介 gRPC,google的远程过程调用框架,传输协议使用 HTTP2, 序列化协议使用 protobuf.gRPC 使用 HTTP2 传输协议传输 protobuf 序列化的二进制数据,有极高的效 ...
- MES助力日立电梯提升精细化管理水平
项目背景介绍 日立电梯在2008年到2012年期间分别在五地工厂(上海.广州.天津.成都.扶梯)上线了ERP系统,在后续的使用时间里,逐渐发现现有ERP系统对于生产现场管理,产品质量追溯,产能控制等方 ...
- ios视频网盘
http://pan.baidu.com/share/home?uk=1711799154#category/type=0