osx - Capistrano - cannot deploy code because of "Permission denied (publickey)." -


when run capistrano deploy code server, error message:

... ** execute git:check debug[18c8f63a] running /usr/bin/env git ls-remote -h git@bitbucket.org:name/project.git on 107.170.160.89 debug[18c8f63a] command: ( git_askpass=/bin/echo git_ssh=/tmp/project/git-ssh.sh /usr/bin/env git ls-remote -h git@bitbucket.org:name/project.git ) debug[18c8f63a]     permission denied (publickey). debug[18c8f63a]     fatal: remote end hung unexpectedly debug[18c8f63a] finished in 0.478 seconds exit status 128 (failed). 

i have admin permissions repository. when run ssh-add -l, see "/users/adam/.ssh/id_rsa (rsa)" record.

what's wrong here?

edit: when run ssh bitbucket.org on ubuntu server, permission denied (publickey).


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -