beekeeper-studio icon indicating copy to clipboard operation
beekeeper-studio copied to clipboard

BUG: 1Password SSH agent not working

Open farski opened this issue 2 years ago • 9 comments

Describe the bug I've recently started using the SSH Agent that 1Password introduced in version 8. When selecting SSH Agent as the option for SSH Authentication with an SSH Tunnel, I receive the error All configured authentication methods failed. When using a file of the same key found in the SSH agent, the connection works as expected.

Version Information (please complete the following information):

  • OS: macOS
  • App Version 3.6.2

farski avatar Aug 15 '22 15:08 farski

This may be the reason: https://developer.1password.com/docs/ssh/agent/advanced#ssh-server-six-key-limit

elsbrock avatar Sep 30 '22 20:09 elsbrock

I don't believe that's the issue for me, since these keys work via 1Paassword when connecting to the same DBs with clients other than Beekeeper.

farski avatar Sep 30 '22 21:09 farski

Beekeeper may not be aware of the SSH agent. Can you check this? https://developer.1password.com/docs/ssh/agent/compatibility#configure-ssh_auth_sock-globally-for-every-client

elsbrock avatar Oct 01 '22 16:10 elsbrock

I'm having some trouble with the launch config, but opening Beekeeper from the command line with open -a after exporting SSH_AUTH_SOCK does seem to be working. Need to dig into it some more when I have time.

farski avatar Oct 04 '22 14:10 farski

I have the same issue on Windows 11. I checked the links mentioned above but there are no solution for Windows. Anyone may have a workaround for Windows?

belaarany avatar Feb 18 '23 08:02 belaarany

Closing the loop: both methods suggested in the docs (open -a and creating the launch agent) do work.

I think ideally it would be great if Beekeeper natively supported IdentityAgent in ~/.ssh/config so that they weren't necessary, but that is probably better classified as a feature request than a bug.

farski avatar Feb 23 '23 19:02 farski

Reopening the loop, there are no methods that work on Windows.

joeld-win avatar Apr 21 '24 15:04 joeld-win

Might be related to #1444

DKhalil avatar Jun 13 '24 08:06 DKhalil