In our normal setup connecting to Gitolite, we use SSH aliases to prevent us from doing anything foolish. Then, if we need admin power we can use an admin alias. I'm having trouble getting source tree to work with this structure since it doesn't seem to look at the ~/.ssh/config file. Is there a corresponding Putty file?
For clarity, my ~/.ssh/config file looks like the following
I got around the issue by creating new remotes for sourcetree to pull from, but that feel likes a bit of a workaround.
If you need to use aliases with the PuTTY suite then you can do so by defining 'Saved Sessions' in the main PuTTY application itself. We don't actually include this in SourceTree because we only actually require plink (the terminal SSH transport) and Pageant (the agent), but you can download PuTTY.exe via the main site: http://www.putty.org/
Just download putty.exe, launch it, define some settings including the host etc then give it a name on the top-level 'Session' node and click Save to create a saved session. That name should be usable as an alias with plink too after that, which is what will be used for git SSH commands.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs