klren0312 / daliy_knowledge

知识积累,正确使用方式是watch
21 stars 4 forks source link

git 配置ssh的代理 #831

Open klren0312 opened 5 months ago

klren0312 commented 5 months ago

~/.ssh下新建 config 文件

Host github.com                                                                                                          
        Hostname ssh.github.com                                                                                          
        Port 443                                                                                                         
        User git
        ProxyCommand connect -S 127.0.0.1:7890 %h %p