Hi,
I'm running SourceTree and Git on MacOSX Lion and I was very happy with its functionality. The CLI Git is working fine with my remote repository.
Concerning SourceTree, it worked fine until I rebooted my Mac. After this, it returns the error:
error: cannot run ssh: No such file or directory fatal: unable to fork
Is SourceTree expecting ssh at a certain location or using an environment variable to define the path? My ssh is located at /usr/bin/ssh. I couldn' find any configuration parameter in this direction
Thanks for any help Bernhard
I solved it: it seems to be a rights issue. When I started ST explicitly via open -a SourceTree the issue vanished. Obviously, the App in the doc had other rights which led to the failure.
Hi Bernhard,
I have the same issue as you do. Did you end up changing anything so you could open and run ST properly simply by clicking the Application icon? (As opposed to using the open command in terminal?)
Vern
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vern, no the workaround is still in use. It's kind of OK since I'm not starting so often my Mac. The new version of SourceTree (1.9.4.1) doesn't fix this issue. I think to fix this one has to understand the exact mechanics of the doc which I didn't follow up.
Regards Bernhard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh right. No problems. Thanks for replying though.
Cheers,
Vern
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bernhard,
using open -a fixed the problem for me too, but no idea what the cause is.
thanks,
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found a permanent solution for me: adding GIT_SSH environment variable pointing to /usr/bin/ssh in my bash_profile and launchd conf lets me start sourcetree from my dock without that error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I solved it: it seems to be a rights issue. When I started ST explicitly via open -a SourceTree the issue vanished. Obviously, the App in the doc had other rights which led to the failure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are two ways to configure ssh in sourcetree, please refer to http://stackoverflow.com/questions/17790375/sourcetree-on-windows-how-to-connect-to-ssh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to set up your ssh key http://kb.site5.com/shell-access-ssh/how-to-generate-ssh-keys-and-connect-to-your-account-with-putty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harry, thanks for your answer. The problem, however, is not the authentication but the fact that the ssh binary is not found. BTW: The authentication tab in you links does not exist in the MacOSX version, surprisingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.