Skip to main content
June 30, 2025
Question

1Password SSH Agent - Ashai Linux

  • June 30, 2025
  • 3 replies
  • 148 views

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
July 1, 2025

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

floris_1P
1Password Employee
July 2, 2025

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.

July 2, 2025

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!