Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
3 years agossh-agent on windows 11 does not work. Is there some trick I'm missing or something?
The native ssh client in Windows 11 does not appear to be working with ssh-agent in 1Password. I have to export the key into the .ssh directory in order to get in. What am I missing or doing wrong? ...
Former Member
2 years agoI also am having a similar issue; I followed the instructions in the docs, and the Settings dialog shows that the agent is "Running", but the named pipe it should be using (\\.\pipe\openssh-ssh-agent
) doesn't exist:
λ gci \\.\pipe\ -filter *ssh*
λ
Update: when I looked in the logs, it became apparent that the agent actually failed to start, even though the UI said it was "Running". Two errors in the logs occurred, neither one of which were surfaced in the UI at all.
ERROR 2023-09-07T15:36:08.306 tokio-runtime-worker(ThreadId(2)) [1P:ssh\op-ssh-agent\src\lib.rs:171] Unable to start agent, another process is already listening
ERROR 2023-09-07T15:36:08.307 tokio-runtime-worker(ThreadId(2)) [1P:C:\builds\dev\core\core\ssh\op-agent-controller\src\desktop.rs:401] LocationUnavailable
ERROR 2023-09-07T15:36:08.307 tokio-runtime-worker(ThreadId(2)) [1P:ssh\op-agent-controller\src\desktop.rs:407] SSH Agent failed to start.
ERROR 2023-09-07T15:38:46.747 tokio-runtime-worker(ThreadId(7)) [1P:op-ui\src\ssh_key_decryption\mod.rs:103] Error processing imported private key: invalid passphrase provided
The fix was to disable the agent, quit 1Password, start it back up, unlock it, and then enable the agent again, and that seemed to do that trick.