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

SourceTree crashes on ssh+git connections with ControlPersist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 1.9.5
    • 1.9.4.1
    • Git
    • None
    • Mac OS Mavericks, system ssh and system bash

      My ~/.ssh/config file uses the following parameters for persistent connections:

      ControlMaster auto
      ControlPath /tmp/ssh_mux_%h_%p_%r
      ControlPersist 2h

      However, when I try and perform any operation that happens after a connection has expired (e.g. after my mac has been sleeping for 20mins+), it crashes SourceTree and requires a Force Quit to get it working again. After that it works fine.

      Persistent connections are something of a must for us as we run our stash on AWS and it can take a while to initiate a connection.

      (This bug has been affecting me for ages - about two years - but it has taken me this long to narrow down the cause to the ssh configuration)

              Unassigned Unassigned
              ab636adc-0633-47bd-967e-a51f8a10dae8 Deleted Account (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: