使用Aptana Studio导入git项目但权限被拒绝(publickey) [英] Using Aptana Studio to import git project but Permission denied (publickey)

查看:153
本文介绍了使用Aptana Studio导入git项目但权限被拒绝(publickey)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图从github仓库导入一个现有项目到aptana studio,但是一个错误说Permission denied(publickey)。致命的:远程终端意外挂断

I tried to import an existing project from the github repository into aptana studio but an error says Permission denied (publickey). fatal: The remote end hung up unexpectedly

我确保将我的SSH添加到我的帐户在github。我也跑了$ ssh -vT gitt@github.com
,这就是它说找不到私钥。

I made sure to add my ssh to my account in github. I also ran $ssh -vT gitt@github.com and this is what it says that the private key cannot be found.

在其他Windows 7计算机上我从来没有遇到过导入Git项目的问题,但是在我的家用电脑上却无法正常工作。

On other windows 7 machine I never had a problem importing a Git project but on my home PC I can't get it to work.

显然,这个必须与适当的ssh - 键设置与aptana。有两种可能性
1)如果你已经安装了Windows应用程序的github,那么你已经有了一个密钥对。它也将已经在Github注册。一旦你登录到github,你可以在 https://github.com/settings/ssh 下找到它们。
现在您需要解释aptana使用适当的私钥来打开Aptana,并且使用

$ b

Apparently this has to do with the proper ssh - keys to be set with aptana. There are two possibilities 1) If you've installed the github for Windows application than you already have a key-pair. It will also be already registered with Github. You can find these under https://github.com/settings/ssh once you've logged on to github. Now you need to explain aptana to use the proper private key for that open Aptana and


  1. 转到Window / Preferences - >一般/网络连接/ SSH2

  2. 点击添加私钥...并选择github_rsa文件,而不是pub
    文件,我们想告诉aptana你的私钥是什么。

现在aptana将使用正确的密钥连接到github

Now aptana will use the proper key to connect to github

这篇关于使用Aptana Studio导入git项目但权限被拒绝(publickey)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆