git

Error on `git pull`: Permission denied (publickey). fatal: The remote end hung up unexpectedly

Sometimes my Devuan unexpectedly close the session, because of some JavaScripts on websites. After re-login I cannot connect to remote git repository with errors:

$ ssh remote_server
$ git pull
Error reading response length from authentication socket.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

Some people advise to start ssh-agent and load keys to ssh-agent, but that does not work in my case:

Free Git Hosting In 2021

gitgud.io

Opensource hosting deployed with Gitlab.com code. Free and very convenient. Create own page on server gitgud.io.

Collaborate with colleagues or community, receive commits, give access to other users and manage permissions to projects, branches, action over them.

 

rocketgit.com

Get your space and put code to rocketgit. It has too simple web dashboard for create and overview your projects. Push your code and share with others.

 

gogs.io

Become self-hosted git owner with simple system Gogs.