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

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

    I had the same problem. Turns out I forgot to add my Gitlab instance SSH key (the 'runner') to my server's ~/.ssh/authorized_keys file.

提交回复
热议问题