ssh报错:
ssh: connect to host port 22: Connection timed out
fatal: Could not read from remote repository.
在终端输入:$ ssh -T git@
打开下图路径下查看是否有该文件:
没有的话就添加一个文件命名:config
内容为:
Host User gitHostname PreferredAuthentications publickeyIdentityFile ~/.ssh/id_rsaPort 443
在终端重新输入:$ ssh -T git@
经过以上步骤即可解决标题报错!