从gerrit上拷贝代码,通过git clone命令拷贝,报错如下:
$ git clone ssh://用户名@appcode.zuk.com:29418/apps/ZuiCamera2
Cloning into 'ZuiCamera2'...
ssh_dispatch_run_fatal: Connection to 10.119.126.248 port 29418: incorrect signature
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决方案:将之前可以成功访问gerrit上的电脑.ssh文件夹下的文件,全部拷贝到新电脑文件夹.ssh下面,替换掉全部文件。
即可。