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:
$...
- 2 months ago
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.
Jack_P_1P
1Password Team
3 years agoHi @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
ryan99
2 months agoNew 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.