Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-8052

SourceTree generated SSH config: terminating, 2 bad configuration options

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 4.2.3
    • GitLab
    • None
    • Severity 2 - Major

      For Gitlab Enterprise account, I get the following generated ssh settings from SourceTree that does not seem to work and unsure how to fix:

      1. — Sourcetree Generated —
        Host user-GitLab Enterprise
            HostName GitLab Enterprise
            User user
            PreferredAuthentications publickey
            IdentityFile /Users/user/.ssh/user-GitLab Enterprise
            UseKeychain yes
            AddKeysToAgent yes
      2. ----------------------------

      The error from this reads as follows:

      /Users/user/.ssh/config line 14: keyword hostname extra arguments at end of line

      /Users/user/.ssh/config line 17: keyword identityfile extra arguments at end of line

      /Users/user/.ssh/config: terminating, 2 bad configuration options

      fatal: Could not read from remote repository.

       

      This is only for GitLab EE, I also have a Github that does work fine. I'm on a MacBook Air M2 with SourceTree 4.2.3 and imbedded git

              Unassigned Unassigned
              5a5694341b41 Marc van Eck
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: