SourceTree generated SSH config: terminating, 2 bad configuration options

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • None
    • Affects Version/s: 4.2.3
    • Component/s: 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

            Assignee:
            Unassigned
            Reporter:
            Marc van Eck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: