Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
3 years agoSSH agent error - failed to start ssh config file watcher
Hi,
I have a fresh install of ubuntu 22.04LTS and I've noticed that the SSH agent is not showing during ssh login.
I've installed 1Password using package manager.
I've found these errors:
$ cat ~/.config/1Password/logs/1Password_r00000.log | grep "ssh"
ERROR 2022-11-30T22:12:51.215 ThreadId(22) [1P:ssh/op-ssh-config/src/lib.rs:153] Could not open ssh config file in ~/.ssh/config
ERROR 2022-11-30T22:12:51.215 ThreadId(22) [1P:/builds/dev/core/core/ssh/op-ssh-config/src/lib.rs:140] Failed to start ssh config file watcher: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
INFO 2022-11-30T22:16:03.505 tokio-runtime-worker(ThreadId(3)) [1P:ssh/op-agent-controller/src/desktop.rs:374] SSH Agent has started.
I've also followed https://support.1password.com/system-authentication-linux/ and tried troubleshooting with the aid of "Get help" section. Could you please help me?
1Password Version: 8.9.8
Extension Version: Not Provided
OS Version: ubuntu 22.04LTS
Browser:_ Not Provided
I was having the exact same problem after reading through the "Getting Started" guide I figured out that I was missing the ".ssh/config" file.
After following the steps and creating the file, specifically:
https://developer.1password.com/docs/ssh/get-started/#step-4-configure-your-ssh-or-git-client
The problem was fixed.
It seem that when 1password starts on Linux it watches the file: "~/.ssh/config" for changes, if the file does not exist 1password crashes.
Even though the 1password agent works with only the Environment variable set:
"export SSH_AUTH_SOCK=~/.1password/agent.sock"
To prevent 1password from crashing you will also need create the "~/.ssh/config" file.
4 Replies
- Jack_P_1P
1Password Team
Hi @smoxy:
In that case, I'd like to ask you to create a diagnostics report from your Linux computer:
Sending Diagnostics Reports (Mac)
Attach the diagnostics to an email message addressed to
support+forum@1password.com
.With your email please include:
- A link to this thread: https://1password.community/discussion/135620/ssh-agent-error-failed-to-start-ssh-config-file-watcher#latest
- Your forum username:
smoxy
You should receive an automated reply from our BitBot assistant with a Support ID number. Please post that number here. Thanks very much!
- Former Member
Hi Jack_P_1P, I fixed it after a couple of hours enabling TPM from bios, but I still get some errors:
- every time I have to make an SSH login 1password asks me for the password
- addons both on chromium and on firefox are not bound with the 1password app.
Do I have to open another thread or could you help me from here?
- Jack_P_1P
1Password Team
Hi @smoxy:
Thanks for reaching out. Just to confirm, have you followed all the steps on the Get Started page?
Get started | SSH Agent
After the agent is enabled in 1Password, it's still necessary to configure SSH to use it, either with an environment variable, or a setting in
~/.ssh/config
. Let me know how you get on with that, or if you run into trouble along the way.Jack
- ryan99New Contributor
I was having the exact same problem after reading through the "Getting Started" guide I figured out that I was missing the ".ssh/config" file.
After following the steps and creating the file, specifically:
https://developer.1password.com/docs/ssh/get-started/#step-4-configure-your-ssh-or-git-client
The problem was fixed.
It seem that when 1password starts on Linux it watches the file: "~/.ssh/config" for changes, if the file does not exist 1password crashes.
Even though the 1password agent works with only the Environment variable set:
"export SSH_AUTH_SOCK=~/.1password/agent.sock"
To prevent 1password from crashing you will also need create the "~/.ssh/config" file.