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

后端 未结 5 1690
名媛妹妹
名媛妹妹 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:35

    If all above solutions did not work for you, try this. It work for me. Cheer.

    ssh-add ~/.ssh/your_private_id_rsa
    and run
    eval `ssh-agent`
    

    Ref: http://mjacobus.github.io/2015/08/20/solving-weird-capistrano-problems-with-ssh-authentication.html

提交回复
热议问题