sundry-0001 git相关|fatal: unable to access
linux or win下都适用, win下需要下载类似GitHub的git界面工具
问题: 无法拉取仓库
$ git clone https://gitee.com/123/mywheels.git
Cloning into 'mywheels'...
fatal: unable to access 'https://gitee.com/123/mywheels.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to gitee.com:443
解决:
如下命令会提示放到.ssh目录下, 按照提示完成三次回车,即可生成 ssh key。通过查看
~/.ssh/*****.pub
文件内容,获取到 public key, 添加生成的 public key 添加到仓库中即可。
$ ssh-keygen -t ed25519 -C "*****@gmail.com"