Forum Discussion

wmalcolm94's avatar
wmalcolm94
New Contributor
15 days ago

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

  • wmalcolm94's avatar
    wmalcolm94
    New Contributor

    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!

  • floris_1P's avatar
    floris_1P
    Icon for 1Password Team rank1Password Team

    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.

  • ThePhatLe's avatar
    ThePhatLe
    New Contributor

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