简体   繁体   English

从url ssh克隆gitkraken中的存储库无效

[英]cloning a repository in gitkraken from url ssh invalid


I'm quite new to Linux and I have some trouble using GitKraken (in Windows I use SourceTree). 我对Linux很陌生,在使用GitKraken时遇到了一些麻烦(在Windows中,我使用SourceTree)。 I want to clone a repository that is on my NAS. 我想克隆我的NAS上的存储库。 Unfortunately, when I try to clone it says: "Configured SSH key is invalid. Please confirm that it is properly associated with your Git provider". 不幸的是,当我尝试克隆时,它说:“配置的SSH密钥无效。请确认它已与您的Git提供程序正确关联”。 In Preferences>Authentication I have checked (default) Use Local SHH agent. 在“首选项”>“身份验证”中,我已选中(默认)“使用本地SHH代理”。
If I clone the rep from the terminal with git clone command it asks for the password and everything is ok. 如果我使用git clone命令从终端克隆代表,它会要求输入密码,一切正常。
Any suggestion? 有什么建议吗?
Alex 亚历克斯

I had the same error message in my GitKraken. 我的GitKraken中有相同的错误消息。 I followed carefully all the steps of "Set up SSH for Git on XXX" (Windows in my case) and managed to make it work. 我仔细地遵循了“在XXX上为Git设置SSH”(在我的情况下是Windows)的所有步骤,并设法使其工作。

https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html

Not sure it exactly applies to your case, but maybe it can guide you to the right direction. 不确定它是否完全适合您的情况,但也许它可以引导您朝正确的方向发展。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM