PowerShell / PowerShell/Win32-OpenSSH

Unable to add identity file to agent with confirmation flag

Open
#1,404 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0 - Backlog Area-ssh-agent Issue-Enhancement
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

"OpenSSH for Windows" version
7.7.2.1 - This is from the regular ssh command, I don't have the sshd running because I only use the client

Server OperatingSystem
N/A - This is a local issue

Client OperatingSystem
Windows 10 Home

What is failing
I'm unable to add my identity file with the -c flag. Adding it without the flag is not a problem.

Expected output
Identity added: C:\Users\*snip*/.ssh/id_rsa (C:\Users\*snip*/.ssh/id_rsa)

Actual output
Could not add identity "C:\Users\*snip*/.ssh/id_rsa": communication with agent failed

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

Start by reproducing the ssh-add confirmation-mode failure on Windows 10 with OpenSSH 7.7.2.1, comparing it with adding the same identity without -c. Trace the agent communication path and confirm that the identity can be added with confirmation enabled and produces the expected success output.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
authentication, operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.