How to get GitKraken feature working - "Use local SSH agent"
Asked Answered
E

2

11

In brief

What is the proper way to set SSH keys in GitKraken to work with different git github/bitbucket repos?

Full details

The feature is snapshot as below in GitKraken preference. When I check Use local SSH agent, git pull/push/... commands stop working. Using git command from console works normally for me.

Currently I have to uncheck it, and select the ssh key I want to use which is quite tiring when working with multiple git repo providers.

My google search and search on our site result litle helpful, so I asked here.

enter image description here

Ectype answered 22/2, 2018 at 8:58 Comment(0)
S
3

Are you running gitkraken under linux? For me the problem was, that I had to export SSH_AUTH_SOCK for gitkraken to find the agent.

So I start gitkraken like this:

SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" /usr/share/gitkraken/gitkraken
Snakemouth answered 20/6, 2019 at 11:21 Comment(0)
T
0

It can be a rare case, but if it could help at least someone: For me perosnally, having the same issue after installing gitkraken, it did help to restart the computer after installation. Everything worked then.

Thereinto answered 21/9, 2018 at 6:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.