Which Bitwarden app is your issue or question about?
3 - Desktop App
Bitwarden App Version
486ab09d8b1d29b52710fd81ed96924144e47e9095615f3b8dba0faba42052d5
Operating System
05 - Linux
Where is your vault hosted?
Bitwarden (default)
Server Version (if self-hosting)
2026.10.1
Description
Currently, needing to apply $Env:SSH_AUTH_SOCK = Join-Path $HOME '.var/app/com.bitwarden.desktop/data/.bitwarden-ssh-agent.sock' to have the SSH agent operate:
Networking Solutions
Issue
@vogon, now that I’ve tried SSH keys: …which I did to narrow the problem to solely pasting passwords, I have noticed that it doesn’t appear to require that flag: PS /home/beedell.roke_julian_lockhart> $Env:SSH_AUTH_SOCK = Join-Path $HOME...
…is unintuitive, and inconvenient:
opened 12:55AM - 10 Apr 26 UTC
bug
desktop
### Steps To Reproduce
1. Ensure ssh agent is working (check with ssh-add -l). … Have an ssh key for a server already in Bitwarden.
2. store the public key into ~/.ssh and set it in the config file
3. attempt to connect to the host for the key over ssh
### Expected Result
Bitwarden prompts prior to connection whether to authorize the key, if not already authorized. Upon authorizing, session should connect with the public key. Using ssh -v shuld output "Server accepts key: [public key]"
Note, this works without issue on Windows.
### Actual Result
Bitwarden does not prompt for authorization to use any ssh key. server will close connection (publickey) or ask for another authentication method if available. ssh -v does does not output that the server accepts any key.
### Screenshots or Videos
_No response_
### Additional Context
Could be related to issue #15695 ?
### Operating System
Linux
### Operating System Version
_No response_
### Installation method
Flatpak
### Build Version
2026.3.1
### Issue Tracking Info
- [x] I understand that work is tracked outside of GitHub. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
Bitwarden should automatically apply this modification when its SSH agent has been enabled.
My environment is:
Version 2026.10.2
SDK COMMERCIAL-'main (4a9eb23)'
Shell 43.5.0
Renderer 150.0.7871.250
Node 24.19.0
Architecture x64
Quexten
(Bernd Schoolmann)
November 2, 2026, 7:53am
2
main ← km/ssh-agent-setup
opened 12:40PM - 24 Sep 26 UTC
## 🎟️ Tracking
[PM-44479](https://bitwarden.atlassian.net/browse/PM-44479)
…
## 📔 Objective
Enabling the SSH agent leaves users without a working setup and the need to go to the wiki, which is bad UX.
Adds an SSH agent setup dialog, gated by the `SSHAgentSetupDialog` feature flag (`ssh-agent-setup-dialog`). It shows the export line for the Bitwarden agent socket with a copy button; on Windows, a different message for the OpenSSH service.
On unix, the dialog offers to auto-configure the SSH agent by appending the export line to `~/.profile`, `~/.bashrc`, `~/.zshrc` and the fish config behind a marker comment. Windows only shows the dialog; the user disables the OpenSSH Authentication Agent service manually.
Machines that already reach the agent are detected, so the dialog is skipped on enable and the settings link is hidden.
Sandbox manifests (snap, flatpak, MAS entitlements) gain write access to the profile files.
Roughly, this has a few layers:
- Detection, surfacing of the socket (unix), auto-apply all in desktop native
- Some IPC in the middle
- UI logic
If we want to add windows in the future, we would have to implement the apply logic for windows, spawning an admin service and UAC dialog. (I did not implement it in this PR for scope reasons).
[PM-44479]: https://bitwarden.atlassian.net/browse/PM-44479?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
It’s not fully ready yet, but this should get us there.
1 Like