PowerShell / PowerShell/Win32-OpenSSH

Can't acess ssh-agent

Open
#1,491 15 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

So I've followed the instructions about setting up the agent and believe I have it running --

PS C:\windows\system32> Get-Service ssh-agent

Status   Name               DisplayName
------   ----               -----------
Running  ssh-agent          OpenSSH Authentication Agent

but when I try to access it, I get

PS C:\windows\system32> ssh-add -L
error fetching identities: communication with agent failed

I have no spurious SSH related envvars set (saw some other messages related to that), at least as far as I can see from gci Env:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reproducing the PowerShell Get-Service ssh-agent and ssh-add -L commands on Windows, while checking the environment variables as described. Done means ssh-add -L can communicate with the running OpenSSH Authentication Agent and report its identities; the issue does not name a file or test.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.