部署rails应用程序时拒绝权限

时间:2013-11-14 06:37:06

标签: ruby-on-rails ruby-on-rails-3 deployment capistrano

我在使用capistrano进行部署时获得了权限被拒绝

错误:

DEBUG [0203645e] Command: ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/xxx/git-ssh.sh /usr/bin/env git ls-remote git@github.com:yyy/xxx )
DEBUG [0203645e]    Permission denied (publickey).
DEBUG [0203645e]    
DEBUG [0203645e]    fatal: The remote end hung up unexpectedly
DEBUG [0203645e]    
DEBUG [0203645e] Finished in 5.938 seconds with exit status 128 (failed).

我的ssh密钥在服务器和git中可用(两个地方都有相同的密钥

我之前能够推进 如果需要更多信息,请告诉我。

0 个答案:

没有答案