Skip to content

Confirmation request seems not to work #55

@guahki

Description

@guahki

Hi,

I found this project searching for a SSH Agent working with PowerShell as well as GitBash (MSYS).
I do (currently) not use the Windows-Cert (YubiKey) features, but use it as a "normal" SSH agent. While testing, I realized, ssh-add -c <key-file> does not work as expected. The key gets added, but no confirmation has to be done on usage. I took the following steps in a GitBash as PoC:

$ ssh-add -c <path-to-key-file>
Enter passphrase for <path-to-key-file> (will confirm each use):
Identity added: <path-to-key-file> (<name-of-key>)
The user must confirm each use of the key

When subsequently opening a ssh connection using this key from the agent, no confirmation is needed.

Is there any plan to implement the -c flag correctly? I tested -t (timeout) and this seems to work properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions