Forum Discussion

XIII's avatar
XIII
Super Contributor
4 years ago

(Same) SSH key only working once (per 1Password session?)

I have one (ed25519) SSH key that I use to log in to multiple devices. This used to work fine, but as of today only the first login succeeds. When I try to log in to a second or third machine I get this error:


Load key "/Users/me/.ssh/ed25519.pub": invalid format
me@domain.com: Permission denied (publickey).

Coincidentally 1Password then auto-updated. Now I could log in to the second machine using the same key, but not the third.

So it looks like that a SSH key is now only working once per 1Password session?


1Password Version: 80600066 (Nightly)
Extension Version: n/a
OS Version: macOS Monterey 12.2.1

8 Replies

  • K_J__1P's avatar
    K_J__1P
    Icon for 1Password Team rank1Password Team

    XIII Glad that this is working for you! Thanks for testing and reporting back. Let us know if you run into other issues. Cheers!

  • XIII's avatar
    XIII
    Super Contributor

    Solved in 80600071 Nightly. Thanks!

  • floris_1P's avatar
    floris_1P
    Icon for 1Password Team rank1Password Team

    We've received another very similar report today about that nightly, we're investigating the issue. In the mean time, you can consider switching back to the beta channel, by downloading the beta installer.

  • XIII's avatar
    XIII
    Super Contributor

    No logs for failed attempts.

    Verbose output:


    debug1: Next authentication method: publickey
    debug1: Offering public key: /Users/me/.ssh/key.pub ED25519 SHA256:<hash> explicit
    debug3: send packet: type 50
    debug2: we sent a publickey packet, wait for reply
    debug3: receive packet: type 60
    debug1: Server accepts key: /Users/me/.ssh/key.pub ED25519 SHA256:<hash> explicit
    debug3: sign_and_send_pubkey: ED25519 SHA256:<hash>
    debug3: sign_and_send_pubkey: signing using ssh-ed25519 SHA256:<hash>
    Load key "/Users/me/.ssh/key.pub": invalid format
    debug2: we did not send a packet, disable method
    debug1: No more authentication methods to try.

  • floris_1P's avatar
    floris_1P
    Icon for 1Password Team rank1Password Team

    Could you share your verbose ssh output? And when running an SSH command, do you see anything appear in the logs? ~/Library/Group\ Containers/2BUA8C4S2C.com.1password/Library/Application\ Support/1Password/Data/logs/1Password_rCURRENT.log

  • XIII's avatar
    XIII
    Super Contributor

    Not solved in 80600067.

    This is super annoying: I can use a single key, once, until I reboot my Mac...

  • XIII's avatar
    XIII
    Super Contributor

    Additionally I see this:


    ➜ ssh-add -l
    Error connecting to agent: Connection refused

    with this setup:


    ➜ echo $SSH_AUTH_SOCK
    /Users/me/.ssh/.1password/agent.sock