【发布时间】:2013-10-17 00:49:33
【问题描述】:
我将使用 Git 迈出第一步。我也有一个豆茎帐户。我的 IDE 是 phpstorm。
我通过安装程序将它安装在我的 Mac 上 => /usr/local/git 已成功安装。 之后,我生成一个 ssh 密钥并复制到我的 beanstalk 帐户中。 Here's the tutorial.
The authenticity of host 'myaccount.beanstalkapp.com (204.232.132.2)' can't be established.
RSA key fingerprint is 30:9a:97:f3:19:4f:d1:6e:28:76:9e:e7:d1:df:2c:31.
Are you sure you want to continue connecting (yes/no)?
我输入了“是”,然后..
Warning: Permanently added 'myaccount.beanstalkapp.com' (RSA) to the list of known hosts.
Permission denied (publickey).
我的公钥在同一个文件夹 .ssh/beanstalk.pub
我的问题是什么?
我尝试在 phpStorm 中克隆我的存储库:
git@myaccount.beanstalkapp.com:/phpstorm_git.git
但它不起作用。
【问题讨论】:
-
git@myaccount.beanstalkapp.com/phpstorm_git.git会更好吗? (没有':') -
尝试
ssh -v git@myaccount.beanstalkapp.com检查是否是 SSH 连接或存储库路径问题。 -
检查“myaccount.beanstalkapp.com”是否已添加到
~/.ssh/known_hosts...“权限被拒绝(公钥)”。这里的消息很奇怪。
标签: git ssh public-key amazon-elastic-beanstalk