-
Notifications
You must be signed in to change notification settings - Fork 802
Closed
Labels
Description
"OpenSSH for Windows" version
7.7.2.1
Client OperatingSystem
Win10 19030
What is failing
When I try to add an identity to the ssh agent with a bounded lifetime, the operation fails. I have enabled and started the ssh-agent service. Adding and removing identities without a lifetime works:
PS> ssh-add
Enter passphrase for <~>/.ssh/id_ed25519:
Identity added: <~>/.ssh/id_ed25519 (dcow@shire)
PS> ssh-add -l
256 SHA256:+Lo4sy0njfQmmHLX7k0Ws6aUHnfdVquGvRk0zkEP3TY dcow@shire (ED25519)
PS> ssh-add -d
Identity removed: <~>/.ssh/id_ed25519 (dcow@shire)
Expected output
PS> ssh-add -t30s <~>\.ssh\id_ed25519'
Enter passphrase for <~>/.ssh/id_ed25519:
Identity added: <~>/.ssh/id_ed25519 (dcow@shire)
Lifetime set to 30 seconds
Actual output
PS> ssh-add -t30s <~>\.ssh\id_ed25519'
Enter passphrase for <~>/.ssh/id_ed25519:
Could not add identity "<~>\.ssh\id_ed25519": communication with agent failed
maraino, mmalone, sourishkrout, dopey, bersbersbers and 2 more