Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
thibaulltt
9 months agoNew Contributor
Specify the path to the SSH agent socket ?
Currently, the 1Password ssh agent socket is set to ~/.1Password/agent.sock
on Linux, and ~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
on macOS (as per https://developer.1password.com/docs/ssh/agent/config).
Would it be possible to modify that path ? It could then be set to respect the $XDG_DATA_HOME
variable on Linux, or could be set to a custom path.
I propose using the agent.toml
configuration file, and store that path under the following table:
```toml
[ssh-agent]
socket = "$XDG_DATA_HOME/1Password/agent.sock"
The tables below would behave as usual...
[[ssh-keys]]
item = "..."
...
```
1Password Version: 8.10.54
Extension Version: 8.10.55.2
OS Version: Fedora 41
Browser: Not Provided
1 Reply
- Michael_MercuriFrequent Contributor
+1 to make this configurable.
On macOS, I symlink
~/.1Password/agent.sock
to the 1Password SSH agent socket to so that this is consistent between macOS and Linux:shell
ln -s ~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ~/.1password/agent.sock