Ruby on rails HEROKU:权限被拒绝(公钥)致命:无法从远程respository读取
在过去的几天里,我一直在寻找解决这个问题的方法。我可以很好地登录到heroku,查看我的密钥和应用程序,但当我尝试heroku推原始主机时,我不断收到此错误。我可以生成一个密钥,删除它们,再添加它们,完全丢失Ruby on rails HEROKU:权限被拒绝(公钥)致命:无法从远程respository读取,ruby-on-rails,git,heroku,Ruby On Rails,Git,Heroku,在过去的几天里,我一直在寻找解决这个问题的方法。我可以很好地登录到heroku,查看我的密钥和应用程序,但当我尝试heroku推原始主机时,我不断收到此错误。我可以生成一个密钥,删除它们,再添加它们,完全丢失 C:\Users\petey_000\rails_projects\sample_app>heroku keys === peteywiggin@gmail.com Keys ssh-rsa AAAAB3NzaC...1Xr/y7nw== petey_000@PETES-PC ssh
C:\Users\petey_000\rails_projects\sample_app>heroku keys
=== peteywiggin@gmail.com Keys
ssh-rsa AAAAB3NzaC...1Xr/y7nw== petey_000@PETES-PC
ssh-rsa AAAAB3NzaC...UCb8Glpsxt petey_000@PETES-PC
C:\Users\petey_000\rails_projects\sample_app>ssh-add ~/.ssh/id_rsa
Could not open a connection to your authentication agent.
C:\Users\petey_000\rails_projects\sample_app>ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-FQ9fnRDJkhj7/agent.4812; export SSH_AUTH_SOCK;
SSH_AGENT_PID=840; export SSH_AGENT_PID;
echo Agent pid 840;
C:\Users\petey_000\rails_projects\sample_app>ssh-add ~/.ssh/id_rsa
Could not open a connection to your authentication agent.
C:\Users\petey_000\rails_projects\sample_app>eval `ssh-agent`
FILE DOES NOT EXIST.
尝试进行heroku登录heroku登录工作正常,当我放置eval$ssh代理时,它只是说文件不存在