服务器使用赛风

赛风->设置->本地代理端口

HTTP/HTTPS  设置一个端口号,如7070

重新连接

windows上安装git

打开git bash

ssh -CqTnN -R 0.0.0.0:9000:localhost:7070 root@服务器ip

任何服务器上使用:

 export http_proxy=http://服务器ip:9000

export https_proxy=http://服务器ip:9000

猜你喜欢

转载自www.cnblogs.com/mhc-fly/p/9294625.html
今日推荐