-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
4.2.3
-
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:
- — Sourcetree Generated —
Host user-GitLab Enterprise
HostName GitLab Enterprise
User user
PreferredAuthentications publickey
IdentityFile /Users/user/.ssh/user-GitLab Enterprise
UseKeychain yes
AddKeysToAgent yes - ----------------------------
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
- relates to
-
SRCTREE-7339 Fix Host configuration generation in ~/.ssh/config for ssh key created by sourcetree to prevent error "Permission denied (publickey)." after reboot.
-
- Closed
-
The fix for this issue is available in Sourcetree 4.2.4.
You could upgrade your Sourcetree via "Check For Updates" feature or directly download it from official website.
Thanks.