Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
3 years agoAuthenticate using CLI (non-gui)
I have enabled the 1Password SSH Agent which works fine, apart from one usecase: accessing my computer remotely and then trying to access other SSH hosts. It then prompts for a password using the GUI...
Former Member
3 years agoActually, turns out that the quoting abilities of SSH are rather limited and you cannot embed or escape quotes within quotes, meaning I cannot do something like Match host * exec "test -z \"$SSH_CONNECTION\"" or Match host * exec 'test -z "$SSH_CONNECTION"'.
I did find out another way of checking string length in POSIX shell, though, so I could do this instead:
Match host * exec "test ${#SSH_CONNECTION} == 0"
IdentityAgent "~/.1password/agent.sock"