Open GoogleCodeExporter opened 8 years ago
.ssh文件夹下
缺少id_rsa.pub这个公匙。用puttygen.exe软件导入私匙,再生成公�
��
Original comment by xilo...@gmail.com
on 24 May 2013 at 6:48
.shh
文件夹里什么都没有,用puttygen生成一个放在.shh里面,重新he
roku login 输完密码后提示:Found existing public key:
C:/Users/用户名/.ssh/id_rsa.pub
Uploading SSH public key C:/Users/用户名/.ssh/id_rsa.pub... failed
! Invalid public key.
想问一下这个私钥又在哪里可以找到?
Original comment by fangchun...@gmail.com
on 11 Jun 2013 at 11:14
server用的是snova-c4-nodejs-server-0.22.0.zip
Original comment by fangchun...@gmail.com
on 11 Jun 2013 at 11:15
[deleted comment]
[deleted comment]
[deleted comment]
方法一:注意要打开Git Bash 而不是 Start Command Prompt with Ruby
关于路径比如snova-c4-java-server-0.22.0.war
可以放在任何路径下,然后右键Git Bash
然后按照教程重新做一遍
方法二:在Git Bash中按照如下步骤:
1)首先生成一个公钥,看不懂的话可以一路回车:
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/user/.ssh/id_rsa.
Your public key has been saved in /home/user/.ssh/id_rsa.pub.
The key fingerprint is:
a6:88:0a:bb:74:70:c6:e0:d5:49:65:e3:04:d5:6c:3e user@workstation.local
2)把公钥加入到Heroku
$ heroku keys:add
Uploading ssh public key /home/user/.ssh/id_rsa.pub
如果想删除公钥,可以用命令:
$ heroku keys:remove user@workstation.local
查看公钥,用命令:
$ heroku keys
方法三:使用puttygen.exe,教程网上搜索,注意此法比较繁琐��
�
Original comment by tonray...@gmail.com
on 14 Jun 2013 at 4:39
Original issue reported on code.google.com by
chenrp...@gmail.com
on 23 May 2013 at 6:50