Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup GitKraken with my own server

Hi following a guide (https://www.linux.com/learn/how-run-your-own-git-server) I'm able to use git with the repository on my server from command line. I installed GitKraken and i opened the repository dir on my pc. It recognize the remote repository but I'm not able to pull/push. Clicking on Edit Origin, i get:

Name : origin
Pull URL: ssh://user@hostname/home/user/project-1.git
Push URL: ssh://user@hostname/home/user/project-1.git

The error of Gitkraken is:

Configured SSH key is an invalid format. 
Please ensure that your key is valid and is an RSA-type key

I already tryed to use

ssh-keygen -t rsa

and

cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys'
like image 549
aFaps Avatar asked Mar 23 '17 14:03

aFaps


People also ask

How expensive is GitKraken?

GitLens+ Enterprise will cost $8.95 per user per month. For a limited-time GitKraken is offering a special introductory rate of only $3.95 per user per month!

Do I need Git for GitKraken?

No Git tools are required for GitKraken Client, so once you've run the installer, you can open the app and get going.

Is GitKraken free for commercial use?

git kraken now only free for non-commercial use · Issue #875 · git/git-scm.com · GitHub.

Is GitKraken better than Sourcetree?

Overall, GitKraken gets higher marks for the GUI design from a broad population of development professionals. While experts in Git prefer Sourcetree, GitKraken appeals to more users overall.


1 Answers

Just solved this problem on windows:

  1. You need to use a local ssh agent (Pageant).
  2. On Settings/Authentication check "Use local agent".
  3. Be sure to have Pageant installed and running on your computer. (Installed with PuTTY).
  4. Add your key to Pageant.

I don't know how to solve it on Unix, but you have to search around for localSSHAgent.

like image 165
damjuve Avatar answered Sep 21 '22 19:09

damjuve