I am trying to add my ssh to git. I have generated it, there are 2 files in ~/.ssh In a terminal (MINGW64) I type:
$ eval "$(ssh-agent -s)" It responds:
Agent pid 3480 Then I type
$ ssh-add ~/.ssh/id_rsa It responds (after like 15 secs):
Error connecting to agent: Connection timed out The whole code (with no ssh-agent.exe processes run):
MNXALbl4@DESKTOP-GTSHV44 MINGW64 /c/NodeWebServer (master) $ ls -al ~/.ssh total 36 drwxr-xr-x 1 MNXALbl4 197609 0 июл 5 02:05 ./ drwxr-xr-x 1 MNXALbl4 197609 0 июл 5 02:08 ../ -rw-r--r-- 1 MNXALbl4 197609 3243 июл 5 02:05 id_rsa -rw-r--r-- 1 MNXALbl4 197609 741 июл 5 02:05 id_rsa.pub MNXALbl4@DESKTOP-GTSHV44 MINGW64 /c/NodeWebServer (master) $ eval "$(ssh-agent -s)" Agent pid 12824 MNXALbl4@DESKTOP-GTSHV44 MINGW64 /c/NodeWebServer (master) $ ssh-add ~/.ssh/id_rsa Error connecting to agent: Connection timed out Any ideas? I tried all solutions I could find.