LoginSignup
8
5

More than 5 years have passed since last update.

CircleCIで別のPrivate RepositoryをCloneしようとするとAre you sure you want to continue connecting yes/no?

Posted at

何が起こったのか?

CircleCIで別のPrivate RepositoryをCloneしようとすると Are you sure you want to continue connecting yes/no? とでて実行がストップしてしまっていました.

どうやって解決したのか?

上記のForumにある mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config を実行し、SSHの初回ログインの警告を出さないようにしたら解決しました.

他に試したこと

CircleCIのヘルプページには add_ssh_keys を使えと書いてあるのですが,私の環境では add_ssh_keysでフィンガープリントを指定してもうまく動きませんでした.

8
5
1

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
8
5