Skip to main content
Sep 22, 2022 8:51 PM UTC
Question

SSH Agent not working after windows reinstall

Hi,

I just reinstalled Windows (2H22). But my SSH agent isn't working anymore. I followed the steps as usual, tried logging in into my server. No 1password ssh key popup thingy.

Anyone with the same problem, or knows a solution what it could be? Yes openssh is enabled/started.

A thing that noticed me when trying to get it to work ssh-add -l returns The agent has no identities.


1Password Version: 8.9.5
Extension Version: Not Provided
OS Version: Windows 11 22621.521
Browser:_ Chrome

7 replies

floris_1P
1Password Employee
1Password Employee
Sep 23, 2022 4:04 PM UTC

Is the SSH Key item in your Private/Personal vault?

Sep 23, 2022 5:23 PM UTC

@floris_1P Yes it is

Sep 29, 2022 12:19 PM UTC

I'm having the same issue after updating to Windows 11 22H2

"sign_and_send_pubkey: signing failed for ED25519 "<mykey>" from agent: agent refused operation"

But for me, ssh-add -l shows all the expected identities.

Sep 29, 2022 12:27 PM UTC

I reinitiated windows hello with my face and finger and it started working again.

Oct 1, 2022 6:32 AM UTC

@frstlvl Good idea didn't tried to redo my windows hello setup. But sadly issue still persists.

I think the problem is that ssh-add -l isnt returning any identities

Oct 1, 2022 5:21 PM UTC

Reinstalling openssh fixed it for me via powershell instead of via settings

Oct 5, 2022 3:01 PM UTC

Reinstalling openssh fixed via powershell instead of via settings fixed it for me.

https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse?tabs=powershell