Skip to content

ssh-agent is ignored when with "IdentitiesOnly yes" config file setting #1550

@bersbersbers

Description

@bersbersbers

"OpenSSH for Windows" version
8.1.0.0

Server OperatingSystem
Linux

Client OperatingSystem
Windows 10 Pro

What is failing
When using IdentitiesOnly yes in an SSH config, ssh.exe always asks for the encryption key of a an encrypted authentication key, even if

  • this key is loaded in ssh-agent and
  • AddKeysToAgent yes is set in the same config files (even though the key is added to the agent).
    I do not think this is intended behavior.

This behavior has been described in #1133 (comment), but that issue has been closed, probably because there were a host of tangent issues discussed.

Expected output
The key should be obtainted from the ssh-agent.

Actual output
It is not.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions