Skip to main content
May 10, 2022 3:33 AM UTC
Question

SSH Agent with Navicat

Hi,
I'm trying to get the SSH agent working with Navicat. If I export the agent using export SSH_AUTH_SOCK=... I get the touch ID prompt but I'm still unable to connect.
Do you have any ideas on how I can get it working?


1Password Version: 8.7.0
Extension Version: Not Provided
OS Version: 12.3.1
Referrer: forum-search:https://1password.community/search?Search=navicat

7 replies

floris_1P
1Password Employee
1Password Employee
May 10, 2022 9:52 AM UTC

Do you see anything appear in the 1Password logs when you invoke an SSH command? On macOS: ~/Library/Group Containers/2BUA8C4S2C.com.1password/Library/Application Support/1Password/Data/logs/1Password_rCURRENT.log

May 10, 2022 1:53 PM UTC

Yes I get the following in the logs

INFO 2022-05-10T09:51:38.131 tokio-runtime-worker(ThreadId(10)) [1P:op-data-layer/src/load.rs:136] loaded 2666 items in 10 vaults for account: _______________________________
INFO 2022-05-10T09:51:38.135 op_executor:invocation_loop(ThreadId(18)) [1P:op-app/src/app/backend/unlock.rs:86] Lock state changed: Unlocked
ERROR 2022-05-10T09:51:38.135 tokio-runtime-worker(ThreadId(6)) [1P:/Users/builder/builds/BhfSvM9x/0/dev/core/core/ssh/op-ssh-agent/src/lib.rs:403] Error handling sign request: Key(signing with ssh-rsa is unsupported; SHA-1 may be insecure)
INFO 2022-05-10T09:51:38.135 tokio-runtime-worker(ThreadId(10)) [1P:data/op-search-weights/src/lib.rs:66] Search weights loaded for account with 2 entries (93 bytes total)
INFO 2022-05-10T09:51:38.510 tokio-runtime-worker(ThreadId(2)) [1P:op-b5-client/src/internal/unauthorized_session.rs:753] Verifying MFA with server...
INFO 2022-05-10T09:51:38.566 tokio-runtime-worker(ThreadId(2)) [1P:op-b5-client/src/internal/unauthorized_session.rs:423] Server verification successful
WARN 2022-05-10T09:51:38.566 tokio-runtime-worker(ThreadId(2)) [1P:op-b5-client/src/internal/unauthorized_session.rs:439] Server did not give us a dsecret
INFO 2022-05-10T09:51:38.677 tokio-runtime-worker(ThreadId(7)) [1P:op-data-layer/src/sync.rs:526] The B5 Notifier for (_______________________________) has connected, now monitoring for events.
INFO 2022-05-10T09:51:38.711 tokio-runtime-worker(ThreadId(7)) [1P:op-syncer/src/sync_job.rs:276] synced account _______________________________ (0.14501175s)
INFO 2022-05-10T09:51:38.711 tokio-runtime-worker(ThreadId(7)) [1P:op-data-layer/src/file.rs:608] find_and_complete_pending_uploads: '_______________________________'

floris_1P
1Password Employee
1Password Employee
May 10, 2022 2:56 PM UTC

Ah I see what's happening here. For more info, see this thread.

floris_1P
1Password Employee
1Password Employee
Aug 29, 2022 10:06 AM UTC

@tekay This has been fixed in the latest 1Password beta!

Sep 12, 2022 7:58 PM UTC

Thanks! Its working for me now.

Sep 18, 2022 12:26 PM UTC

How do you setup Navicat to use 1Password? In the SSH tunnel section I have to select a private key

Sep 19, 2022 7:15 PM UTC

I setup 1password like this: https://developer.1password.com/docs/ssh/agent/compatibility/#configure-ssh_auth_sock-globally-for-every-client
and have navicat setup like the image below.
the passkey is saved with a blank passkey...