git clone报错

从gitlab拉代码git clone ssh的方式报错:
packet_write_wait: Connection to 100.67.155.102 port 22: Broken pipe

$ ssh-add ~/.ssh/id_rsa
Identity added: /c/Users/HP/.ssh/id_rsa (/c/Users/HP/.ssh/id_rsa)

如果执行上面的命令出现如下错误
Could not open a connection to your authentication agent.

则先执行以下命令

$ ssh-agent bash

你可能感兴趣的:(git clone报错)