Carthage: Authenticity of host 'github.com' can't be established

Created on 17 Dec 2014  ·  9Comments  ·  Source: Carthage/Carthage

While running carthage update, I keep getting an error after the check out phase, saying:

The authenticity of host 'github.com (192.30.252.129)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? The authenticity of host 'github.com (192.30.252.128)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? 

Which doesn't take any input.

Output here

bug help wanted update

Most helpful comment

I fixed it by adding an ssh key to my github account, but the issue needs to be clarified for those who run into the issue in the future, as there's no feedback.

@robb I'm using the standard `"git {owner}/{repo_name}" syntax

All 9 comments

Are you using git clone URLs in your Cartfile? Have you tried using HTTPS ones instead?

I fixed it by adding an ssh key to my github account, but the issue needs to be clarified for those who run into the issue in the future, as there's no feedback.

@robb I'm using the standard `"git {owner}/{repo_name}" syntax

Please paste the contents of your Cartfile.

# Require version 1.1 of HLSKit
github "Present-Inc/HLSKit" >= 1.1.2

# Require version 1.0.2 of PresentAPIClient
github "Present-Inc/PresentAPIClient"

# Require the latest version of PresentPrePermissions
github "Present-Inc/PresentPrePermissions"

github "justinmakaila/PPhotoPickerController"

# Require Swifter
github "Present-Inc/Swifter"

# Require the latest version of Haneke
github "Haneke/HanekeSwift"

# Require ReactiveCocoa
github "ReactiveCocoa/ReactiveCocoa" == 2.4.2

# Require EmitterKit
github "justinmakaila/emitter-kit" >= 3.1

# Require the Facebook SDK
github "justinmakaila/facebook-ios-sdk" >= 3.21.3

# Require FXKeychain
github "nicklockwood/FXKeychain"

github "nicklockwood/FXForms"

AFAIK, this issue would only come up if you don't have a valid certificate for github.com (or perhaps its CSA) already.

Still, maybe we could “fix” this by telling Git that it's not running in an interactive terminal. The goal would be to make Carthage bail out rather than wait for input.

Closing in favor of #219.

how to solve this??

Siums-Mac-mini:~ sium$ ssh -T [email protected]
The authenticity of host 'github.com (192.30.255.112)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.255.112' (RSA) to the list of known hosts.
Permission denied (publickey).
Siums-Mac-mini:~ sium$ ssh -T [email protected]
Permission denied (publickey).

Please see https://help.github.com/articles/connecting-to-github-with-ssh/ (not related to Carthage itself).

Was this page helpful?
0 / 5 - 0 ratings