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

PurplProto's avatar
PurplProto
Occasional Contributor
3 years ago

I can't get 1Pass ssh-agent working at all on Windows

I tried following the SSH doc linked on the blog post for this update, but I can't get it working at all 😣.

For the prerequisite requirements:

I was previously on the beta channel, before running the uninstaller and reinstalling from the prod release on the downloads page, this didn't change anything though.


Yes, I'm running 1Password 8 (click to expand)

I have the OpenSSH Client installed (_click to expand_) ![](https://us.v-cdn.net/5020219/uploads/editor/44/n2pzcscrfydj.png "")

For step 1:

I opted to import my existing keys (_click to expand_) ![](https://us.v-cdn.net/5020219/uploads/editor/3d/dbzzobsntncq.png "")

Step 2:

I skipped, as I already have my key there.

Step 3:

I already had OpenSSH installed (not sure how or when, but it's there) and it was also already disabled (_click to expand_) ![](https://us.v-cdn.net/5020219/uploads/editor/h1/t6ku9jzdm8v2.png "")
I've enabled the SSH settings options in the 1Password app (_click to expand_) ![](https://us.v-cdn.net/5020219/uploads/editor/cf/2m5xu1u0gso3.png "")

Step 4:

Configured the agent


In Gitbash (click to expand)

In PowerShell (_click to expand_) ![](https://us.v-cdn.net/5020219/uploads/editor/ch/f14gg1eewvqp.png "")

Step 5

Failure across the board. No Git actions or SSH actions work.


Just to prove the key is on my account, it's the same key I've used for well over a year 😄 (click to expand)

Debug time!

The GitHub key check, but verbose (_click to expand_) > PS C:\Users\PurplProto> ssh -vT git@github.com > OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2 > debug1: Reading configuration data C:\\Users\\PurplProto/.ssh/config > debug1: C:\\Users\\PurplProto/.ssh/config line 1: Applying options for * > debug1: Connecting to github.com [140.82.121.3] port 22. > debug1: Connection established. > debug1: identity file C:\\Users\\PurplProto/.ssh/id_rsa type -1 > debug1: identity file C:\\Users\\PurplProto/.ssh/id_rsa-cert type -1 > debug1: identity file C:\\Users\\PurplProto/.ssh/id_dsa type -1 > debug1: identity file C:\\Users\\PurplProto/.ssh/id_dsa-cert type -1 > debug1: identity file C:\\Users\\PurplProto/.ssh/id_ecdsa type -1 > debug1: identity file C:\\Users\\PurplProto/.ssh/id_ecdsa-cert type -1 > debug1: identity file C:\\Users\\PurplProto/.ssh/id_ed25519 type -1 > debug1: identity file C:\\Users\\PurplProto/.ssh/id_ed25519-cert type -1 > debug1: identity file C:\\Users\\PurplProto/.ssh/id_xmss type -1 > debug1: identity file C:\\Users\\PurplProto/.ssh/id_xmss-cert type -1 > debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.1 > debug1: Remote protocol version 2.0, remote software version babeld-4f04c79d > debug1: no match: babeld-4f04c79d > debug1: Authenticating to github.com:22 as 'git' > debug1: SSH2_MSG_KEXINIT sent > debug1: SSH2_MSG_KEXINIT received > debug1: kex: algorithm: curve25519-sha256 > debug1: kex: host key algorithm: ecdsa-sha2-nistp256 > debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: compression: none > debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none > debug1: expecting SSH2_MSG_KEX_ECDH_REPLY > debug1: Server host key: ecdsa-sha2-nistp256 SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM > debug1: Host 'github.com' is known and matches the ECDSA host key. > debug1: Found key in C:\\Users\\PurplProto/.ssh/known_hosts:5 > debug1: rekey out after 134217728 blocks > debug1: SSH2_MSG_NEWKEYS sent > debug1: expecting SSH2_MSG_NEWKEYS > debug1: SSH2_MSG_NEWKEYS received > debug1: rekey in after 134217728 blocks > debug1: pubkey_prepare: ssh_get_authentication_socket: No such file or directory > debug1: Will attempt key: C:\\Users\\PurplProto/.ssh/id_rsa > debug1: Will attempt key: C:\\Users\\PurplProto/.ssh/id_dsa > debug1: Will attempt key: C:\\Users\\PurplProto/.ssh/id_ecdsa > debug1: Will attempt key: C:\\Users\\PurplProto/.ssh/id_ed25519 > debug1: Will attempt key: C:\\Users\\PurplProto/.ssh/id_xmss > debug1: SSH2_MSG_EXT_INFO received > debug1: kex_input_ext_info: server-sig-algs= > debug1: SSH2_MSG_SERVICE_ACCEPT received > debug1: Authentications that can continue: publickey > debug1: Next authentication method: publickey > debug1: Trying private key: C:\\Users\\PurplProto/.ssh/id_rsa > debug1: Trying private key: C:\\Users\\PurplProto/.ssh/id_dsa > debug1: Trying private key: C:\\Users\\PurplProto/.ssh/id_ecdsa > debug1: Trying private key: C:\\Users\\PurplProto/.ssh/id_ed25519 > debug1: Trying private key: C:\\Users\\PurplProto/.ssh/id_xmss > debug1: No more authentication methods to try. > git@github.com: Permission denied (publickey).
Check if the pipe even exists (spoiler, apparently it doesn't) (click to expand) > PS C:\Users\PurplProto> (get-childitem \\.\pipe\openssh-ssh-agent).FullName > get-childitem : Cannot find path '\\.\pipe\openssh-ssh-agent' because it does not exist. > At line:1 char:2 > + (get-childitem \\.\pipe\openssh-ssh-agent).FullName > + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + CategoryInfo : ObjectNotFound: (\\.\pipe\openssh-ssh-agent:String) [Get-ChildItem], ItemNotFoundException > + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
Then searching the logs folder for "ssh" seems to only yield the agent starting message. I've never seen an auth prompted as described in the blog post at all 😥 (_click to expand_) ![](https://us.v-cdn.net/5020219/uploads/editor/o2/vs8cyemgzv6f.png "")

And yes, I've tried turning it off and on again, both the SSH options in 1Password and my PC. 😁

It's like the 1Pass ssh-agent doesn't exist at all 🙁 What's going wrong here?


1Password Version: 8.6.0
Extension Version: 2.3.0
OS Version: Windows 10 21H2