SSH Agent with Navicat

tekay
tekay
Community Member

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:navicat

Comments

  • 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

  • tekay
    tekay
    Community Member

    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: '_______________________________'
    
  • Ah I see what's happening here. For more info, see this thread.

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

  • tekay
    tekay
    Community Member

    Thanks! Its working for me now.

  • bengraves
    bengraves
    Community Member

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

  • tekay
    tekay
    Community Member

    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...

This discussion has been closed.