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'
aFaps source
share