-
Notifications
You must be signed in to change notification settings - Fork 802
Description
"OpenSSH for Windows" version
7.6.1.0
Client OperatingSystem
Windows 10 Pro
What is failing
I have successfully got SSH Agent working to hold my private key so I am able to SSH into remote machines without the need to enter my password.
However I also use the same SSH key for my Git operations.
Each time I use git push
it asks me for my password even though my key is in the agent.
Digging into this it seems that Git uses the env var SSH_AUTH_SOCK
to access the agent and thus the key. This env var is not being set at all and does not exist.
Expected output
It is my understanding that running ssh-agent
on its own should give me back the SSH_AUTH_SOCK
and SSH_AGENT_PID
but I get nothing back at all from ssh-agent
when run in a terminal (elevated or otherwise).
(The SSH Agent service is running)
Actual output
No output from ssh-agent
and no environment variables set.