Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agoSSH agent terminal password prompt?
I've started using the 1Password SSH agent, and in my regular day-to-day work at my desktop PC it works great!
However, if I'm not in my office, I tend to do a lot of work from my laptop using the...
Former Member
4 years agoYep, I added this section to my ~/.bashrc
and disabled the IdentityAgent setting in ~/.ssh/config
on both of my machines:
```bash
Enable 1Password SSH agent
We do this by setting up SSH_AUTH_SOCK, but only for local sessions (SSH_TTY
is unset); if SSH_TTY is set, however, assume that it's a remote session, and
that SSH agent forwarding is active, so we should leave SSH_AUTH_SOCK alone
if [ -z "$SSH_TTY" ]; then
export SSH_AUTH_SOCK=~/.1password/agent.sock
fi
```
Would be nice if this use case was covered, maybe in https://developer.1password.com/docs/ssh/agent/advanced or something?