Forum Discussion

cuberg's avatar
cuberg
New Contributor
2 years ago

SSH Agent isn't working

SSH-Agent isn't working on Windows 11. In .1password there are NO files (even agent.sock) (Explorer is set up to show all files)

.ssh/config content:

Host *
IdentityAgent ~/.1password/agent.sock

part of .gitconfig:

[core]
sshCommand = C:/Windows/System32/OpenSSH/ssh.exe
[gpg]
format = ssh
[gpg "ssh"]
program = C:\\Users\\ium\\AppData\\Local\\1Password\\app\\8\\op-ssh-sign.exe

ssh -Tvvv mailto:git@github.com:

debug3: unable to connect to pipe C:\\Users\\ium/.1password/agent.sock, error: 2
debug1: pubkey_prepare: ssh_get_authentication_socket: No such file or directory

ssh-add -l lists all keys in vault


1Password Version: 8.10.30 (81030020)
Extension Version: Not Provided
OS Version: Windows 11, 23H2 (22635.3430)
Browser: MS Edge

2 Replies

  • cuberg's avatar
    cuberg
    New Contributor

    Turns our, my entire 1Pass installation was broken!
    Fix:
    Delete 1Password fully from your system (be sure to delete '''%localappdata%/1password''' path

    Also, don't change your .ssh/config file, just use "Enable this key for commit signing" feature, it will somehow fix SSH on system level

  • Bleo's avatar
    Bleo
    New Contributor

    I'd like to bump this. ssh agent also stopped working for me on windows 11. I had been using it daily until it suddenly broke.