Skip to main content
Jun 30, 2025 9:12 PM UTC
Question

1Password SSH Agent - Ashai Linux

I recently have decided to give Ashai Linux a try (Fedora Linux arm64 running on Macbook M1). I've got 1Password app installed and it works very well with the browser extension. I'm trying to get the SSH agent configured but am having some issues. In the debug logs for troubleshooting the SSH connection I found.

debug1: get_agent_identities: ssh_get_authentication_socket: Connection refused

My agent.toml file looks like
[[ssh-keys]]
vault = "Private"

My ssh config looks like 
Host *
    IdentityAgent ~/.1password/agent.sock

3 replies

ThePhatLe
Jul 1, 2025 3:08 PM UTC

echo 'export SSH_AUTH_SOCK="$HOME/.1password/agent.sock"' >> ~/.bash_profile

floris_1P
1Password Employee
1Password Employee
Jul 2, 2025 10:39 AM UTC

Do you see your SSH keys from 1Password listed when you run `SSH_AUTH_SOCK=~/.1password/agent.sock ssh-add -l`?

If so, can you check the 1Password app logs when you run a failing `ssh` command? An error should be logged if the agent refuses a request.

Jul 2, 2025 4:47 PM UTC

Sorry, forgot to report back. After a reboot everything seemed to work as expected. I thought I'd tried that already when I posted here. Thanks both of you!