Xcode - Authentication failed error when adding repository with SSH auth

Viktor Kucera

I am trying to add repository via Xcode > Settings > Accounts and I am stuck on the proper address. Address of our repo is quite simple: my.domain.com:port/project-name. Authentication via SSH Keys. Could someone help me to understand what's going on here? See screenshot below.

By the way running git clone git+ssh://[email protected]:port/project-name works fine.

enter image description here

EDIT

Running git clone without git+ssh//

git clone [email protected]:2222/project-name

or

git clone [email protected]:22/project-name

is giving me same error:

ssh: connect to host my.domain.cz port 22: Connection refused

fatal: Could not read from remote repository

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

Jakuje

Xcode accepts just ssh://[email protected]:2222/project-name.

The git protocol is somehow redundant in this case. Raw git tools don't have a problem with it, but Xcode does not like it for some reason.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Error Message: MongoError: bad auth Authentication failed through URI string

From Dev

Auth failed error when specifying database

From Dev

sudo authentication when using SSH key auth with Keepass+Putty

From Dev

Migration error when adding Linkedin Authentication

From Dev

Error when adding user for Solr Basic Authentication

From Dev

error when cloning git repository with ssh

From Dev

error when cloning git repository with ssh

From Dev

SSH authentication failed

From Dev

ssh Authentication failed on Mac

From Dev

SSH Authentication Failed when trying to clone a git repo in SourceTree

From Dev

Error when adding constraints in XCode Playground

From Dev

Python Social Auth- import error when using Google Authentication

From Dev

auth failed with Egit (ssh configuration)

From Dev

Adding a dependency to a repository with Xcode 6.1

From Dev

Adding repository error

From Dev

Adding repository error

From Dev

SSH failed public key authentication

From Java

Git error: "Host Key Verification Failed" when connecting to remote repository

From Dev

Configuring MongoDB connector in MuleStudio when authentication is disabled - "failed to connect" error

From Dev

Ident authentication failed error when connecting to PostgreSQL via PgAdmin III

From Dev

Fatal error: Uncaught SoapFault exception: [ns1:Client.AUTH_1] Authentication Failed

From Dev

Laravel: Auth::attemp - Why Authentication failed?

From Dev

Require both LDAP authentication *and* ssh auth

From Dev

Gitlab 500 error when adding/removing SSH key

From Dev

Syntax error when adding SSH key in GitLab CI

From Dev

Syntax error when adding SSH key in GitLab CI

From Dev

Xcode 5 throws "Library not loaded" error when adding a test target

From Dev

Mach-O Linker Error When Adding Unit Tests - XCode

From Dev

Undeclared identifier error when adding Core Data to existing Xcode project

Related Related

  1. 1

    Error Message: MongoError: bad auth Authentication failed through URI string

  2. 2

    Auth failed error when specifying database

  3. 3

    sudo authentication when using SSH key auth with Keepass+Putty

  4. 4

    Migration error when adding Linkedin Authentication

  5. 5

    Error when adding user for Solr Basic Authentication

  6. 6

    error when cloning git repository with ssh

  7. 7

    error when cloning git repository with ssh

  8. 8

    SSH authentication failed

  9. 9

    ssh Authentication failed on Mac

  10. 10

    SSH Authentication Failed when trying to clone a git repo in SourceTree

  11. 11

    Error when adding constraints in XCode Playground

  12. 12

    Python Social Auth- import error when using Google Authentication

  13. 13

    auth failed with Egit (ssh configuration)

  14. 14

    Adding a dependency to a repository with Xcode 6.1

  15. 15

    Adding repository error

  16. 16

    Adding repository error

  17. 17

    SSH failed public key authentication

  18. 18

    Git error: "Host Key Verification Failed" when connecting to remote repository

  19. 19

    Configuring MongoDB connector in MuleStudio when authentication is disabled - "failed to connect" error

  20. 20

    Ident authentication failed error when connecting to PostgreSQL via PgAdmin III

  21. 21

    Fatal error: Uncaught SoapFault exception: [ns1:Client.AUTH_1] Authentication Failed

  22. 22

    Laravel: Auth::attemp - Why Authentication failed?

  23. 23

    Require both LDAP authentication *and* ssh auth

  24. 24

    Gitlab 500 error when adding/removing SSH key

  25. 25

    Syntax error when adding SSH key in GitLab CI

  26. 26

    Syntax error when adding SSH key in GitLab CI

  27. 27

    Xcode 5 throws "Library not loaded" error when adding a test target

  28. 28

    Mach-O Linker Error When Adding Unit Tests - XCode

  29. 29

    Undeclared identifier error when adding Core Data to existing Xcode project

HotTag

Archive