gogs: Windows SSH: Error on handshaking. Auth fail

Description

Each time I made communication with the server (via ssh), for example: git pull origin master, I have to repeat the same command multiple time before it decide to work. it always says “Server denied authentication”, but if I keep on repeating the command, it will success.

> git pull origin master
Server denied authentication request: 20
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 
> git pull origin master
From git.myserver.com:MyCompany/MyApp
 * branch            master     -> FETCH_HEAD
Already up-to-date.

Update: we do not have this problem before (I think that the version 0.9.97.0901 didn’t have this problem)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 22 (12 by maintainers)

Commits related to this issue

Most upvoted comments

Hello,

Just to let people know, I had the same problem except that I did not have any handshake error log. I had to push 3-4 times before success. I was using version 0.9.128 I just updated to version 0.11.4 and everything works fine (at least for now).

Thanks for the fix Unknwon

I’m closing for now until new proves come in.