Support SSH/config file
As a user with multiple accounts set up in ssh_config, I want GitKraken to support this properly.
GitKraken doesn't seem to be able to respect the certificate settings in ssh_config the way command line git does. It forces anyone with multiple git accounts to switch to the command line for any interaction with these accounts, as GitKraken just hangs indefinitely in these setups.
Under consideration Suggested by: Daniel Demus • Upvoted: yesterday • Comments: 45
Without this feature, I cannot use GitKraken for most of my repositories, since I have multiple bitbucket accounts, and it is impossible to do that without using ssh configurations. I do not know of ONE OTHER GIT TOOL, GUI or Command line, that does NOT support this feature.
I really don't think you folks are naive.. but, the fact that you can't or wont recognize the importance of this feature is increasingly mind boggling.
And -- if one more person suggest I use "profiles" I'll scream. It just shows that you do NOT understand the issue. I'd be happy to 'enlighten you' if that is what it takes..
With companies moving to more complex security mechanisms, using ssh bastions in zero trust environments, SSH configs are ABSOLUTELY necessary. If you do not support this, we will be forced to change solutions, and I believe many other companies as well. I need to use proxies and ProxyCommands, something that cannot be done today if you do not honor config settings.
When I heard about GitKraken the first time I was sad it didn't have support for .ssh/config, but I was hoping it will be added soon. Right now, most colleagues use GitKraken and recommend it to me, but it's quite unusable unfortunately. Is there a plan in short-to-medium time to include this feature? I am considering whether I should pay for Pro version or wait a bit.
Similar to Ed, without this it is not possible to support multiple Bitbucket accounts. Very annoying.
I just opened a support ticket because I have this same request. I use several GitHub accounts (the company where I work and my personal account) and GitHub does not allow the same private key to be registered for both accounts, which led me to use the ssh config file. It works very well from the terminal, but being a PRO user of GitKraken and that this does not work directly in the program is very sad.
If you know of another GIt client that allows this task, please share it with me. Thanks!
Just chiming in here as well. My paid subscription is basically useless as I have multiple clients, and projects, each requiring bitbucket accounts which can only be managed and used efficiently through a proper SSH config file. Hopefully this is available soon!
What do we need to do to make this possible? This is really nice feature and it missing is really disappointing. Sure hope this is going to be available in short time. i just don't see the point to continue paying for the service.
Really would appreciate this feature. Was told by support to switch to https which isn't always supported by git remotes. I run my own git server just over ssh and do not wish to add https
+1 for me!
I’m a new GK subscriber and I badly needed GK, and now it’s unusable for me. Sad. If this doesn't get resolved before my subscription runs out, I won't be renewing. It's also annoying that I've paid for something I basically can not use. It really hurts!
This limitation also means you can't easily use GitKraken with 1Password's new SSH agent.
Totally agree with everyone. Just got my first client that insists on separated SSH keys. I was led to the SSH config file. But I realized quickly that GitKraken doesn't support it. This makes me question if I renew my license when it expires as it's now becoming a key feature and I see so much use of it. Please do not only consider it but prioritize it. Thank you!
Upvote for SSH_CONFIG support and additionally for shell environment inheritance for things such as local git client environment variables ie GIT_SSH_COMMAND and GIT_AUTHOR ...etc.
I am unable to switch over to GitKraken as my Git GUI without shell environment inheritance or SSH_CONFIG support. As a consultant working on many clients using many SSH keys and GIT_AUTHOR requirements I rely heavily on https://direnv.net/ .envrc files to update my shell environment GIT_ variables based on the parent directory for a client. Allows setting my git author name and email automatically to comply with organization pre-receive hooks. Also setting alternative GIT_SSH_COMMAND such as GIT_SSH_COMMAND="ssh -i ~/.ssh/client2/bitbucket" or similar to override the default keys set in ssh_config for github.com and bitbucket.com.
I hope this gets more traction, and is implemented soon. I will still use GitKraken personally, but for my company, I can no longer use it due to the fact we need to use the `~/.ssh/config` file to point to the correct repository accounts.
This look like a bug in the GUI. In the 'GitKraken -> Terminal' will the '~/.ssh/config' used for the commands. I think, do fix this bug is not a magical black box. And, for subscribers is this a necessary basic function. I hope the GitKraken Dev Guys will fix this :)
This is FUNDAMENTAL to developer work. I work in an organization that has multiple Github Enterprise repos. We also support OSS repos. The TERMINAL knows how to pull the correct ssh config file... the UI needs to know this as well!
This is a HUGE pain point for me now... I can't even recommend GitKraken to anyone at the moment either.
i cannot believe this is not implemented. completely makes gitkraken unusable. at least state a response why it is hard to implement if so....
Fokke de boer
I really like Gitkraken, but I'm kind of getting forces to switch because this feature is missing.
I use multiple Github accounts and Github doesn’t allow you to use the same SSH key on multiple accounts.
So I have multiple SSH keys for each Github account and added this in the config file.
But Gitkraken apparently ignores the config file...
I REALLY hope Gitkraken will implement this feature! UPVOTE people
Yea gitkraken are too busy developing silly things like their glow boards (there are enough better project management tools out there…). Just focus on making your core product properly before everyone just jumps ship to something that just does the job.
100% Agree this needs to be supported.
I get that you can use profiles inside of GitKraken to specify certs/keys/etc, but then you're trapped within GitKraken, no other tools will work properly, not even the git command line tool.
I'd also like this feature. Right now I have to hardcode the ip address of my remote host nickname in my hosts file, and then manually update again whenever that ip changes
I just learned today that it doesnt work.
Yeah! I just notice Gitkraken cannot use SSH/config file and I cannot use it for our custom SSH port repository.
This is a pretty important missing feature :[
Use case (using multiple GitHub accounts):
# Personal GitHub
# Work GitHub
It's silly that GitKraken doesn't understand the SSH config. What kind of lame system is this? Do you expect HTTPS authentication everywhere?
I use SSH configs to get strong cryptographic authentication and easy aliases:
All my repos are cloned via `git clone github:MyName/MyRepo.git` and the command-line tools perfectly handle the keyfile (which is password-protected by the way, so that I Have to enter a password the first time I use a keyfile per computer reboot).
GitKraken on the other hand goes "hurr durr, what is "github:"?"... It's a shame.
I love GitKraken fo managing the history, but I literally have to open a terminal and "git push" because GK lacks this basic Git authentication feature.
Like other people said, please stop developing useless project task managers and work on core Git features first! :D
please correctly invoke ssh so that it utilizes the config file. Should be so obvious. Don't know why GK can't figure this one out.
I'm just coming to GitKraken after having used sourcetree for ages. Lack of support for git config and worktrees are preventing me from fully moving to GitKraken at this point, but I look forward to these being implemented as the software itself looks great.
Axosoft, based on the number of comments, can you at least chime in and provide a reason not to support ssh's config file? Without seeing acknowledgement or a comment, it is as if this is no concern to you. As a paid subscriber, this is very disappointing. As most professionals, I have personal and professional bitbucket and github accounts. I love your product. It is an execellent repo tool. However, without the ability to push in gitkraken, I'd rather use tig in the terminal. Although I cannot push using tig, it is a super quick exit to push from the command line. As any busy professional, I prefer quick paths in my tool chains and workflows. Having to leave gitkraken to find a terminal is quite cumbersome.
I hope to see it soon! Perfection is not far!
Good luck :-}
This would be my number one request.
+1 for me!
+1 for me too!
I have also just bumped into this - I primarily use GK as a visual tool for looking at branches and merges etc. But, it would be great to use the new workspace feature to do a 'fetch all' on a whole ton of repos, but I can't because they require a different GitHub account and therefore custom SSH config...
Supporting the SSH config file is a must!
+1 from me too :) I also use several ssh keys using the ssh config file, and glad to see I'm not the only one.
I'm pretty comfortable with the command line, but I love the pretty colours of the git hub lines xD
I have only just realised this issue when my PRO trial ran out. And then I couldn't view my public repo anymore with gitkraken as it said it was private.
I assume this is because I was using a custom alias for github to force my ssh to use the correct ssh key.
Using gitkraken's own SSH key to clone the repo fixed this, but shouldn't have to be the fix, as that SSH key won't be reusable on other github accounts
I'm evaluating this supposed game-changing 9.0 release, wondering what it would give me that I don't already have with JetBrains, VS Code, and SourceTree.
Evaluation done. Hard pass. Cause of course we use multiple SSH config entries for multiple GitHub accounts.
+1 for me, this is essential
This is essential and basic functionality. Profile switching is a workaround, not a solution - especially for organizations supporting multiple discrete teams or brands each with their own repository. Gitkraken already supports use of the local ssh agent, so the fact that it doesn't respect the config file of the local agent is a non-starter.
This feature would make my life so much easier. +1
+1 It was not an issue in the beginning, I wouldn't mind switching keys, but as I dive into a more complex git workflow it's becoming critical to have that feature.
Can’t use Gitkraken over here at Amazon or AWS because of this issue. I would be thrilled to see this feature!!
+1. This has caused issues for us, especially when using in WSL. We were able to implement a workaround but it's janky and doesn't always work. We'd much rather have support for this feature out of the box.
+1 from me. I sadly plan to move away from GK just due to this one... Everything else fits my needs.
+1 As a DevOps engineer I touch 15+ repos on a daily basis, everything from public GitHub repos to private on-prem GitLab repositories only accessible via a SSH jump host. Setting up a SSH config file to reference the various keys, jump configurations, etc. allows me to use the git CLI perfectly fine.
In GitKraken (GK) things are more difficult. Accessing GitHub is trivial through the built-in integrations. However because GK does not support SSH config files, I am required to open the terminal sub-pane and manually enter git commands for the GitLab repos. This causes the GUI to get out-of-sync with the state of the repo and can cause confusion.
TLDR: Implementing this would very much help those of us who deal with different repository hosting services.
+1. I plan on moving to another solution if I have to keep doing a git push from the CLI after I do anything in GitKraken.
This is definitely needed as all of our repos are accessed via ssh with a custom port.