Git ssh.exe stops working

I am on Windows 7, 64 bit and have installed msysgit to work with my github repositories. On my old laptop (32 bit, as well as on Windows 7), git worked without problems, but now git bash is slow (I type the command and it takes a few seconds to actually display it, character by character). When I try to push the changes, it works intermittently, but most often a dialog box appears that says "ssh.exe stops working ...". I click the "Cancel" button and repeat the command. In the end, it works by requesting my authentication code. As soon as he reaches this step, he pushes without problems. It just comes to that. This is problem.

Basically my problems are:

  • git runs slowly for most commands, even if they are entered slowly before executing the command
  • git bas (ssh.exe) stops working when clicked, it works intermittently.

I reinstalled the windows since this problem arose and this did not fix.

+6
source share
5 answers

Regarding slow input in git bash and cmd.exe, these other questions may have your answers:

The first one has a solution when you use Lenovo Laptop (do you run one at a time by chance?).

Since you indicated that even after reinstalling Windows you have the same problem, I would have thought that this was due to the hardware or some service or software installed for that particular hardware.

I also tried running git bash as an administrator and see if that changed.

Your SSH question may depend on another, so I would first solve the problem of slow printing. A.

0
source

Intermittent push, fetching, and other remote commands are indicative of an insufficient number of concurrent ssh connections distributed at the location where your central repo is located. Extend configuration to provide more parallel secure connections. This is especially true if you use something like gitolit or gitoz, which use the same user to access all git users and distinguish the user based on the provided public key.

0
source

I have the same configuration: Win 7 64bit, Msysgit and github. I ran into the problem "ssh.exe stopped working" as you did when I clicked on github.

I solved this with another ssh.exe: I installed Cygwin and copied all the binaries to the git binary folder.

I think that if you specify an external ssh client during msysgit installation, you can avoid this hack, but at the moment it seemed like a good idea.

0
source

I also ran into this problem. ssh.exe, the one that used git, was also used by OpenSSH, which I ran to connect to my US office. I also installed TortoiseSVN, which has its own ssh.exe .

I uninstalled git and upon reinstallation I configured git to use ssh.exe that part of TortoiseSVN, and this problem disappeared.

0
source

Today I faced the same problem. Turned off the antivirus, and it worked perfectly.

0
source

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


All Articles