SSH-Agent: Bitwarden always asks authorization when script uses a ssh command, how to not ask every time

Hello,
I’ve been using Bitwarden for many year now, and I just wanted to try to use the SSH-Agent in my iTerm2 terminal on macOS.

All app are up to date.

I’ve encountered an annoying thing by activating the SSH-Agent in my zshrc config file with :

export SSH_AUTH_SOCK=/Users/milesteg/Library/Containers/com.bitwarden.desktop/Data/.bitwarden-ssh-agent.sock

I already have in my ~/.ssh/config all my keys referenced, which are in the same folder.
When I use ssh xxx command, there is no confirmation whatsoever required with Bitwarden app, but when I use a script that launch a ssh command, I reveive a popup in bitwarden demanding a confirmation to access the ssh-key stored in my Bitwarden Vault:

Everytime my script launch a ssh command I get this message.

Is it possible to have my script granted access without confirmation ? (of course only when Bitwarden is open and my Vault unlocked).

Thanks for the help.
Miles

1 Like

I’m having the same issue. I have several applications that use ssh with git commands to fetch and pull updates from github. every time it does this I’m forced to click approve which is very annoying…

Update: I just saw this PR on github that solves this issue. waiting for it to be added to the next release

Hello,
That’s great! I’ll be waqiting this to be in the next/future release :slight_smile:
Thank you for checky the PR :wink: