Something has happened to my Windows Powershell, so whenever I open it there is a big long pause and then it says "Could not open a connection to your authentication agent." What is an authentication agent, and why is Powershell trying to open a connection to it?


This is what worked for me:

Environment: OS: Windows 10 Enterprise x64 Powershell running as administrator

1) Install ps-get: (type in powershell and enter

(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex

2) Then:

Install-Module Posh-Git

3) Start powershell as admin in Bsldevutilities

3.1) Type


3.2) type

ssh-add c:\users\yourname\.ssh\id_rsa

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.