cap aborted! SSHKit::Runner::ExecuteError: Exception while executing on host

后端 未结 5 1696
名媛妹妹
名媛妹妹 2021-01-04 09:02

I\'m trying to deploy code with Capistrano 3 to Ubuntu server from GIT repository, but I\'m getting this error.

=====================================================

5条回答
  •  爱一瞬间的悲伤
    2021-01-04 09:36

    Just write the command in console:

     ssh-add
    

    If that don't work, write below command in console:

     ssh-add ~/.ssh/id_rsa
    

    and then re-run the command (i.e. cap production deploy), It will work for sure.

提交回复
热议问题