gitkraken clone报错 Configured SSH key is invalid

时间:2022-05-01 05:20:59

gitkraken clone远程仓库时报错 Configured SSH key is invalid. Please confirm that is properly associated with your Git provider.

gitkraken clone报错 Configured SSH key is invalid

其实这个报错已经很明显了,在gitkraken的preferences->authentication中生成的SSH公钥不能与git提供者(自己服务器)的公钥关联。

其实就是没有让服务器登记gitkraken的SSH公钥

解决办法,找到SSH公钥的默认路径:

gitkraken clone报错 Configured SSH key is invalid

用记事本打开,复制公钥到服务器的/root/.ssh/authorized_keys文件,保存即可。