Skip to content

Adding key with confirmation option to ssh-agent gives "agent refused operation" #2314

Open
@wondering639

Description

@wondering639

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

Try adding a key with the -c (confirmation) option, it will fail with "agent refused operation"

PS C:\Users\myuser> ssh-add -c $env:USERPROFILE/.ssh/mykey
Enter passphrase for C:\Users\myuser/.ssh/mykey (will confirm each use):
Could not add identity "C:\Users\myuser/.ssh/mykey": agent refused operation

Expected behavior

ssh agent should not refuse this operation (-> it should support it)

Actual behavior

buggy or likely not supported at all, even though the option is there on ssh-add?

Error details

No response

Environment data

not relevant

Version

OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions