跳转至

index

SSH

#git/ssh/github


  • 无法连接时使用以下ssh配置
    Host github.com
        HostName ssh.github.com
        PreferredAuthentications publickey
        IdentityFile ~/.ssh/github
        # Port 443 \#有无都可
        User git
        # 添加下面这一行,端口号为你开启代理的端口号,这里7890是Clash默认端口号,mac 上可能配置代理环境变量即可,配置这个+代理环境变量会导致无法连接
        # ProxyCommand connect -S 127.0.0.1:7890 -a none %h %p