Signing back into the Community for the first time? You'll need to reset your password to access your account.  Find out more.

Forum Discussion

Former Member's avatar
Former Member
2 years ago

SSH agent not prompting authentication and requests failing as a result

I had the SSH agent set up and running correctly (without Windows Hello) using a Nightly version of 1Password on Windows 11 and have been using it from PowerShell for about a month or two successfully.

As of today, it seems to have stopped working as it did previously? I'm using git for windows (2.40.0.1) and I haven't changed any SSH/git configuration (AFAIK). I presume this could be the result of a new 1Password version?

Running any git commands that require auth, e.g git pull results in git@bitbucket.org: Permission denied (publickey).

Running ssh-add -l results in error fetching identities: communication with agent failed, which highlights there potentially being a configuration issue with OpenSSH?

I'm using the bundled OpenSSH as detailed in the docs - running git config --get core.sshCommand returns C:/Windows/System32/OpenSSH/ssh.exe and gcm ssh-add results in:

```
CommandType Name Version Source


Application ssh-add.exe 8.6.0.1 C:\Windows\System32\OpenSSH\ssh-add.exe
```

I'm seeing errors in the 1Password logs about lack of permissions to access the SSH pipe?


INFO 2023-06-01T03:26:23.628 ThreadId(26) [client:typescript] Client starting.
INFO 2023-06-01T03:26:23.665 ThreadId(26) [1P:op-localization\src\lib.rs:227] system locale detected as 'en-GB'
INFO 2023-06-01T03:26:23.665 ThreadId(26) [1P:op-localization\src\lib.rs:253] selected translations for EN_US based on detected locale en-GB
INFO 2023-06-01T03:26:23.666 ThreadId(26) [status:op-app\src\app.rs:481] App::new(1Password for Windows/81007042 (EN_US), C:\Users\$USER\AppData\Local\1Password\1password.sqlite)
INFO 2023-06-01T03:26:23.693 ThreadId(26) [1P:data\op-db\src\db.rs:427] Table Integrity Check Succeeded
INFO 2023-06-01T03:26:23.694 ThreadId(26) [1P:data\op-db\src\db.rs:443] DB Integrity Check Succeeded
INFO 2023-06-01T03:26:23.694 ThreadId(26) [1P:data\op-db\src\db.rs:137] Starting DB at version: 28
INFO 2023-06-01T03:26:23.705 tokio-runtime-worker(ThreadId(16)) [1P:native-messaging\op-native-core-integration\src\lib.rs:281] Mute native core integration is waiting for Shared Lock State to be enabled
INFO 2023-06-01T03:26:23.766 tokio-runtime-worker(ThreadId(19)) [1P:ssh\op-agent-controller\src\desktop.rs:606] SSH Agent has started.
INFO 2023-06-01T03:26:23.766 tokio-runtime-worker(ThreadId(19)) [1P:ssh\op-agent-controller\src\desktop.rs:429] Starting filesystem watcher for SSH agent configuration directories...
ERROR 2023-06-01T03:26:23.766 tokio-runtime-worker(ThreadId(19)) [1P:C:\builds\dev\core\core\ssh\op-agent-controller\src\desktop.rs:430] Generic Notify Error
WARN 2023-06-01T03:26:52.112 tokio-runtime-worker(ThreadId(16)) [1P:ssh\op-ssh-agent\src\lib.rs:231] failed to accept ssh client connection: Ipc(PipeAuthError(WinApi(Access is denied.)))
WARN 2023-06-01T03:26:54.470 tokio-runtime-worker(ThreadId(23)) [1P:ssh\op-ssh-agent\src\lib.rs:231] failed to accept ssh client connection: Ipc(PipeAuthError(WinApi(Access is denied.)))
INFO 2023-06-01T03:26:54.693 tokio-runtime-worker(ThreadId(23)) [status:op-app\src\app\backend\updater.rs:250] No Nightly updates found for 81007042
WARN 2023-06-01T03:27:12.502 tokio-runtime-worker(ThreadId(19)) [1P:ssh\op-ssh-agent\src\lib.rs:231] failed to accept ssh client connection: Ipc(PipeAuthError(WinApi(Access is denied.)))
WARN 2023-06-01T03:27:14.380 tokio-runtime-worker(ThreadId(19)) [1P:ssh\op-ssh-agent\src\lib.rs:231] failed to accept ssh client connection: Ipc(PipeAuthError(WinApi(Access is denied.)))
WARN 2023-06-01T03:27:15.552 tokio-runtime-worker(ThreadId(19)) [1P:ssh\op-ssh-agent\src\lib.rs:231] failed to accept ssh client connection: Ipc(PipeAuthError(WinApi(Access is denied.)))
WARN 2023-06-01T03:27:16.721 tokio-runtime-worker(ThreadId(19)) [1P:ssh\op-ssh-agent\src\lib.rs:231] failed to accept ssh client connection: Ipc(PipeAuthError(WinApi(Access is denied.)))

Hopefully I'm not missing something obvious!


1Password Version: 1Password for Windows 8.10.7 (81007042)
Extension Version: Not Provided
OS Version: Windows 11 Pro 10.0.22621 Build 22621
Browser:_ Not Provided

No Replies