Carthage hangs when requesting an SSH passphrase

Created on 29 Nov 2016  路  5Comments  路  Source: Carthage/Carthage

  • carthage version: 0.18.1
  • xcodebuild -version: Xcode 8.0 Build version 8A218a
  • Are you using --no-build? No
  • Are you using --no-use-binaries? No
  • Are you using --use-submodules? No

Cartfile

github "danielgindi/Charts" == 3.0.0
git "git@<private URL>" == 6.0.2.1

Carthage Output

$ carthage bootstrap --platform ios
*** Fetching <private repo>

Carthage hangs. However:

$ /usr/bin/env git fetch --prune git@<private URL>

Enter passphrase for key '/Users/abrager/.ssh/id_rsa':

I think Carthage is eating the request for an SSH passphrase, possibly related to #219 and #447 or their fixes.

Most helpful comment

Having what I believe is the same issue. On update, Carthage just hangs on Cloning . When I clone in git, it's asking for the SSH passphrase. That works fine. Carthage never asks.

Update

I believe this was related to Sierra upgrade. Resolution required modifying the config_X file to use the keychain and...

ssh-add -K ~/.ssh/id_rsa

These workarounds are discussed in this thread.

All 5 comments

Having what I believe is the same issue. On update, Carthage just hangs on Cloning . When I clone in git, it's asking for the SSH passphrase. That works fine. Carthage never asks.

Update

I believe this was related to Sierra upgrade. Resolution required modifying the config_X file to use the keychain and...

ssh-add -K ~/.ssh/id_rsa

These workarounds are discussed in this thread.

@Tapestes thanks

This is a duplicate of #1705.

@Tapestes thank you so much. That works for me too.

@Tapestes thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pmhood picture pmhood  路  3Comments

willhains picture willhains  路  3Comments

justinmakaila picture justinmakaila  路  4Comments

JustinJiaDev picture JustinJiaDev  路  3Comments

itinance picture itinance  路  3Comments