Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
kzolnowski
4 years agoOccasional Contributor
ssh-agent stopped working
Hi,
After last nigthly update ssh-agent stopped working with error:
sign_and_send_pubkey: signing failed for ED25519 "SSH key ed25519 private" from agent: agent refused operation
Here's a log:
INFO 2022-05-20T09:38:39.891 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-agent-controller/src/desktop.rs:311] SSH Agent has started.
WARN 2022-05-20T09:42:55.966 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:39] no top level process found, launchd is missing from process tree
WARN 2022-05-20T09:42:55.966 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:356] Unable to get client_info for pid: 3445
WARN 2022-05-20T09:47:04.442 tokio-runtime-worker(ThreadId(15)) [1P:ssh/op-session-info/src/macos.rs:39] no top level process found, launchd is missing from process tree
WARN 2022-05-20T09:47:04.443 tokio-runtime-worker(ThreadId(15)) [1P:ssh/op-ssh-agent/src/lib.rs:356] Unable to get client_info for pid: 3633
Could you please help me?
1Password Version: 8.8.0 80800101, on NIGHTLY channel
Extension Version: Not Provided
OS Version: macOS 12.3.1
33 Replies
- Jack_P_1P
1Password Team
Hi @lawrencegripper:
Thanks for sharing that. We're actively investigating situations like this, so thanks for the additional details.
Jack
- Former Member
I had the same issue, it happened on some machines and not others. Tracking back from the reference to
no GUI info available to determine top level parentI managed to find the cause.
I had
ControlMaster auto
ControlPath ~/.ssh/%r@%h:%p.sock
ControlPersist yes
configured in my .ssh/config for the server. This means the connection is kept open as a socket and the terminal uses that meaning on reauth process.
The side effect was that this broke the 1Password SSH Agent as the connection didn't have a GUI attached. Removing this configuration meant everything worked correctly again.
- mjecNew Contributor
I too am seeing this error trying to use ssh-agent forwarded over an ssh connection:
1password.desktop[84193]: INFO 2022-10-28T13:04:20.199 tokio-runtime-worker(ThreadId(2)) [1P:foundation/op-sys-info/src/process_information/linux.rs:367] no GUI info available to determine top level parent
1password.desktop[84193]: WARN 2022-10-28T13:04:20.199 tokio-runtime-worker(ThreadId(2)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 40121
PID 40121 is my ssh connection to
$remote. I can runssh-add -Lsuccessfully on$remote, but any attempt to use the key fails with the above appearing in debug logs.This happens only when using agent forwarding.
Versions:
* 1Password for Linux 8.9.8 (80908001) running https://swaywm.org/ on Linux 6.0.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:49 +0000 x86_64 GNU/Linux.
* Local ssh: OpenSSH_9.1p1, OpenSSL 1.1.1q 5 Jul 2022
* Remote ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017I can reproduce consistently with that setup, but things work fine when remote ssh version is OpenSSH_9.0p1, OpenSSL 1.1.1q 5 Jul 2022. This is surprising to me.
Let me know if I can be of further assistance in debugging; I can reliably reproduce, and am happy to run debug builds etc if that's helpful.
- glassmichaelNew Contributor
sorry about the triple post!
- glassmichaelNew Contributor
I'm getting the same error now.
1Password for Mac 8.9.8 (80908007)
using iterm2
INFO 2022-10-27T11:44:14.998 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:450] Session was not authorized
WARN 2022-10-27T11:51:09.621 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:51:09.621 tokio-runtime-worker(ThreadId(4)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:51:09.624 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 95195
WARN 2022-10-27T11:51:09.624 tokio-runtime-worker(ThreadId(4)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 95194
WARN 2022-10-27T11:51:55.171 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:51:55.171 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 95594
WARN 2022-10-27T11:53:40.854 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:53:40.855 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96124
WARN 2022-10-27T11:54:34.517 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:34.517 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96527
WARN 2022-10-27T11:54:37.522 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:37.522 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96578
WARN 2022-10-27T11:54:39.858 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:39.858 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96633
WARN 2022-10-27T11:54:42.222 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:42.222 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96683
WARN 2022-10-27T11:54:47.894 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:47.894 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96737
If I keep trying to ssh, it often resolves itself. Also when I open a new terminal window.
- glassmichaelNew Contributor
I'm getting the same error now.
1Password for Mac 8.9.8 (80908007)
using iterm2
INFO 2022-10-27T11:44:14.998 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:450] Session was not authorized
WARN 2022-10-27T11:51:09.621 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:51:09.621 tokio-runtime-worker(ThreadId(4)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:51:09.624 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 95195
WARN 2022-10-27T11:51:09.624 tokio-runtime-worker(ThreadId(4)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 95194
WARN 2022-10-27T11:51:55.171 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:51:55.171 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 95594
WARN 2022-10-27T11:53:40.854 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:53:40.855 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96124
WARN 2022-10-27T11:54:34.517 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:34.517 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96527
WARN 2022-10-27T11:54:37.522 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:37.522 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96578
WARN 2022-10-27T11:54:39.858 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:39.858 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96633
WARN 2022-10-27T11:54:42.222 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:42.222 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96683
WARN 2022-10-27T11:54:47.894 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:47.894 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96737
If I keep trying to ssh, it often resolves itself. Also when I open a new terminal window.
- glassmichaelNew Contributor
I'm getting the same error now.
1Password for Mac 8.9.8 (80908007)
using iterm2
INFO 2022-10-27T11:44:14.998 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:450] Session was not authorized
WARN 2022-10-27T11:51:09.621 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:51:09.621 tokio-runtime-worker(ThreadId(4)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:51:09.624 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 95195
WARN 2022-10-27T11:51:09.624 tokio-runtime-worker(ThreadId(4)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 95194
WARN 2022-10-27T11:51:55.171 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:51:55.171 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 95594
WARN 2022-10-27T11:53:40.854 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:53:40.855 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96124
WARN 2022-10-27T11:54:34.517 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:34.517 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96527
WARN 2022-10-27T11:54:37.522 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:37.522 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96578
WARN 2022-10-27T11:54:39.858 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:39.858 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96633
WARN 2022-10-27T11:54:42.222 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:42.222 tokio-runtime-worker(ThreadId(5)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96683
WARN 2022-10-27T11:54:47.894 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:37] no top level process found, launchd is missing from process tree
WARN 2022-10-27T11:54:47.894 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:416] Unable to get client_info for pid: 96737
If I keep trying to ssh, it often resolves itself. Also when I open a new terminal window.
- Former Member
floris_1P How does one install the nightly build? I'm on the beta build currently and having the same error. Running OpenSuse Tumbleweed, I start 1Password in silent and debug mode at session start. I'm also using xmonad wm instead of a typical DE if it's relevant. Here are the logs:
INFO 2022-05-20T19:26:44.700 ThreadId(18) [client:typescript] Client starting.
INFO 2022-05-20T19:26:44.769 tokio-runtime-worker(ThreadId(15)) [1P:native-messaging/op-native-core-integration/src/lib.rs:281] Starting IPC listener on 1Password-BrowserSupport
INFO 2022-05-20T19:26:44.769 ThreadId(18) [1P:op-localization/src/lib.rs:228] system locale detected as 'en_US'
INFO 2022-05-20T19:26:44.769 ThreadId(18) [1P:op-localization/src/lib.rs:254] selected translations for EN_US based on detected locale en-US
INFO 2022-05-20T19:26:44.769 ThreadId(18) [status:op-app/src/app.rs:325] App::new(1Password for Linux/80800094 (EN_US), /home/$USER/.config/1Password/1password.sqlite)
INFO 2022-05-20T19:26:44.769 tokio-runtime-worker(ThreadId(13)) [1P:native-messaging/op-native-core-integration/src/lib.rs:293] Active native core integration is awaiting messages
INFO 2022-05-20T19:26:44.770 ThreadId(18) [1P:op-db/src/db.rs:120] Starting DB at version: 23
INFO 2022-05-20T19:26:44.790 ThreadId(18) [1P:op-db/src/db.rs:756] Updated DB Schema to version 024
INFO 2022-05-20T19:26:44.804 ThreadId(18) [1P:ssh/op-ssh-config/src/lib.rs:229] agent configured
ERROR 2022-05-20T19:26:44.804 ThreadId(18) [1P:ffi/core-node/src/lib.rs:65] Attempted to notify uninitialized App
INFO 2022-05-20T19:26:44.805 op_executor:invocation_loop(ThreadId(23)) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/google-chrome/NativeMessagingHosts/com.1password.1password.json
INFO 2022-05-20T19:26:44.805 op_executor:invocation_loop(ThreadId(23)) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/google-chrome-beta/NativeMessagingHosts/com.1password.1password.json
INFO 2022-05-20T19:26:44.805 op_executor:invocation_loop(ThreadId(23)) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/google-chrome-unstable/NativeMessagingHosts/com.1password.1password.json
INFO 2022-05-20T19:26:44.805 op_executor:invocation_loop(ThreadId(23)) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/chromium/NativeMessagingHosts/com.1password.1password.json
INFO 2022-05-20T19:26:44.805 op_executor:invocation_loop(ThreadId(23)) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/microsoft-edge-dev/NativeMessagingHosts/com.1password.1password.json
INFO 2022-05-20T19:26:44.805 op_executor:invocation_loop(ThreadId(23)) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/com.1password.1password.json
INFO 2022-05-20T19:26:44.805 op_executor:invocation_loop(ThreadId(23)) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/vivaldi/NativeMessagingHosts/com.1password.1password.json
INFO 2022-05-20T19:26:44.805 op_executor:invocation_loop(ThreadId(23)) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.config/vivaldi-snapshot/NativeMessagingHosts/com.1password.1password.json
INFO 2022-05-20T19:26:44.805 op_executor:invocation_loop(ThreadId(23)) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:68] Created NMH manifest at /home/$USER/.mozilla/native-messaging-hosts/com.1password.1password.json
INFO 2022-05-20T19:26:44.805 op_executor:invocation_loop(ThreadId(23)) [1P:native-messaging/op-nm-installer/src/nix_utils.rs:83] Successfully installed all native messaging manifests.
INFO 2022-05-20T19:26:44.806 tokio-runtime-worker(ThreadId(15)) [1P:ssh/op-agent-controller/src/desktop.rs:311] SSH Agent has started.
INFO 2022-05-20T19:29:10.397 tokio-runtime-worker(ThreadId(13)) [1P:foundation/op-sys-info/src/process_information/linux.rs:356] no GUI info available to determine top level parent
INFO 2022-05-20T19:29:10.402 tokio-runtime-worker(ThreadId(9)) [1P:ssh/op-ssh-agent/src/lib.rs:381] Session was not authorized
INFO 2022-05-20T19:29:10.602 tokio-runtime-worker(ThreadId(9)) [1P:op-app/src/app/backend/unlock.rs:238] System unlock was attempted but we cannot use it.
INFO 2022-05-20T19:29:10.608 tokio-runtime-worker(ThreadId(13)) [1P:op-app/src/app/backend/unlock.rs:238] System unlock was attempted but we cannot use it.
INFO 2022-05-20T19:29:18.582 tokio-runtime-worker(ThreadId(15)) [1P:op-data-layer/src/load.rs:136] loaded 2110 items in 4 vaults for account: SS44EEDLNRDQHBPQ5EE6RKML24
INFO 2022-05-20T19:29:18.594 op_executor:invocation_loop(ThreadId(23)) [1P:op-app/src/app/backend/unlock.rs:83] Lock state changed: Unlocked
INFO 2022-05-20T19:29:18.608 op_executor:invocation_loop(ThreadId(23)) [1P:op-app/src/app/backend/frontend.rs:24] Front end event: window closed
INFO 2022-05-20T19:29:19.972 tokio-runtime-worker(ThreadId(9)) [1P:op-syncer/src/sync_job.rs:285] synced account SS44EEDLNRDQHBPQ5EE6RKML24 (0.09642692s)
INFO 2022-05-20T19:29:19.972 tokio-runtime-worker(ThreadId(9)) [1P:op-data-layer/src/file.rs:597] find_and_complete_pending_uploads: 'SS44EEDLNRDQHBPQ5EE6RKML24'
INFO 2022-05-20T19:29:20.203 tokio-runtime-worker(ThreadId(9)) [1P:op-data-layer/src/sync.rs:529] The B5 Notifier for (SS44EEDLNRDQHBPQ5EE6RKML24) has connected, now monitoring for events.
INFO 2022-05-20T19:29:22.072 tokio-runtime-worker(ThreadId(9)) [1P:foundation/op-sys-info/src/process_information/linux.rs:356] no GUI info available to determine top level parent
INFO 2022-05-20T19:29:22.102 tokio-runtime-worker(ThreadId(9)) [1P:ssh/op-ssh-agent/src/lib.rs:381] Session was not authorized
INFO 2022-05-20T19:39:20.290 tokio-runtime-worker(ThreadId(14)) [1P:foundation/op-sys-info/src/process_information/linux.rs:356] no GUI info available to determine top level parent
INFO 2022-05-20T19:39:20.309 tokio-runtime-worker(ThreadId(15)) [1P:ssh/op-ssh-agent/src/lib.rs:381] Session was not authorized
- kzolnowskiOccasional Contributor
Hey,
After last nighlty update the issue is fixed for me. Thanks!
- XIIISuper Contributor
Yes! Thank you.
Hope this does not happen again...