SSH Agent no longer starts after installing Cygwin

Installed msysGit, wrote code to run ssh-agent in .profile, everything worked.

Installed cygwin, without git , just ssh and cURL.

The SSH agent no longer starts when Git bash opens.

I can start a new instance of the ssh-agent process, I see it when I start psin Git bash, but when I try to use it, ssh-addI get this error:
Could not open a connection to your authentication agent.

With cygwin, a lot of files .profileand files were created in the installation folder (C: \ cygwin) .bashrc. Not sure if this is a problem.

How can I fix this please?

+5
source share
1 answer

, ssh-add. , .

+1

All Articles