How to configure GitKraken on my own server

Hi after the manual ( https://www.linux.com/learn/how-run-your-own-git-server ) I can use git with the repository on my server from the command line, I installed GitKraken and I opened the repository on my computer. It recognizes the remote repository, but I cannot pull / push. By 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

Gitkraken error:

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

I already tried to use

ssh-keygen -t rsa

and

cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys'
+4
source share
1 answer

Just solved this problem on windows:

  1. You need to use the local ssh agent (Pageant).
  2. On Settings / Authentication check "Use local agent".
  3. , Pageant . ( PuTTY).
  4. Pageant.

, Unix, localSSHAgent.

+2

Source: https://habr.com/ru/post/1673016/


All Articles