将秘钥文件拷贝到.ssh文件夹下了,但为什么一直是这样的结果:
The authenticity of host '[rsgerrit]:29418 ([xx.xx.xx.xx]:29418)' can't be established.
RSA key fingerprint is SHA256:46TAh8mcOaToX5JD81qkcyRrP66+Xq9cps7RXkKblYQ.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[rsgerrit]:29418,[xx.xx.xx.xx]:29418' (RSA) to the list of known hosts.
Load key "/home/hades/.ssh/id_rsa": Permission denied
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git的ssh key一直不生效,为什么?
一种可能的情况是权限问题,看下是对应的权限