LoginSignup
1
1

More than 5 years have passed since last update.

Capistrano のデプロイで git clone に失敗したときに確認すること

Posted at

$ cap production deploy:check を実行するとこんなエラーが発生しました。

Error reading response length from authentication socket.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

原因は set :repo_url で SSH の URL をしていたことだったようで、
以下のように HTTPS の URL に変更することでエラーしなくなりました。

set :repo_url, 'https://github.com/akisute3/repo.git'
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1